i want to disable few check boxes in a checkedlistbox. what should i do?
rexdon
0
Newbie Poster
Recommended Answers
Jump to Postprivate void CheckBoxListTest_Load(object sender, EventArgs e) { DataTable dt = new DataTable(); dt.Columns.Add("name"); for (int j = 0; j < 20; j++) { dt.Rows.Add("checkbox" + j.ToString()); } CheckBox[] cks = new CheckBox[dt.Rows.Count]; for (int j = 0; j < dt.Rows.Count; j++) { cks[j] = new CheckBox(); cks[j].Text …
All 4 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.