Friday, September 28, 2018

Checkbox List

 protected void CheckBoxList1_SelectedIndexChanged(object sender, EventArgs e)
    {
        int i;
        for (i = 0; i < CheckBoxList1.Items.Count; i++)
        {

            if (CheckBoxList1.SelectedIndex == i)
            {



                TextBox1.Text += CheckBoxList1.Items[i].Text;


            }
            else
            {
         


            }


        }


    }

No comments:

Post a Comment

ADVANCE 2025

 HTML TABLE SCROLL BAR  <style>      .table-container {             width: 100%;             overflow-x: auto; /* Enables horizontal s...