Please Let me know, What types of Data a CheckedListBox Contains?
Problem:
I have Bind the CheckedListBox using following codes:-
CLB_Subjects.DataSource = DAL.GetDataFromSql("select * from tblsubject");
CLB_Subjects.DisplayMember = "subjectname";
CLB_Subjects.ValueMember = "subjectID";
Now,
I unable to iterate Items form collection CheckedListBox using Foreach loop Below:-
foreach (CheckedListBox item in CLB_Subjects.Items)
{}
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Nishant MittalPosted Nov 11, 2015, 2:34 AM