1
Answer

CheckedListBox in Windows Application

Kundan  Jha

Kundan Jha

8y
414
1
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)
{}
 
 
 
 
 
 
 
 
 

Answers (1)