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
{
}
}
}
{
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