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

GRIDVIEW ON ROW DATA BOUND EVENT

 Database Create  Student : roll , name , city , cost  Fix 6 Value  in Database Record  ====================================================...