Friday, October 19, 2018

Listbox count program

protected void Button3_Click(object sender, EventArgs e)
    {
       

        if (DropDownList1.Items.Count > 1)
        {

            if (DropDownList1.SelectedIndex >= 15)
            {

            }
            else
            {
                DropDownList1.SelectedIndex = DropDownList1.SelectedIndex + 1;
            }


  }

No comments:

Post a Comment

Data Transfer Java Script using Local Storage

  Page 1: index.html <!DOCTYPE html> <html> <head> <title> Page 1 </title> </head> <body> ...