protected void Chkl1_SelectedIndexChanged(object sender, EventArgs e) { string code = ""; for (int i = 0; i < Chkl1.Items.Count; i++) { if (Chkl1.Items[i].Selected) { Code += Chkl1.Items[i].Text + ","; } } TxtCodes.Text = Code; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)