CheckBox[] cb = new CheckBox[100]; for (int i = 1; r2.Read(); i++) { int height = 1; cb[i] = new CheckBox(); cb[i].Name = i.ToString(); cb[i].Text = r2[1].ToString(); cb[i].Location = new Point(30, i * 30); this.Controls.Add(cb[i]); height += 22; }
Listbox
CheckedListBox
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)