Binding second Combo Box based on First Combo Box Selection
Hello to All,
I have Master Detail form where in a Form I have a combbox1 and in the DataGridview I have another combobox2, I want that use the first combobox1 selection based value in second combobox.
e.g,
Select Class_ID, Enrollment_ID, Student_name from Enrollment_Table where Class_ID = combobox1.Valuemember;
I want to populate Student Name in combobox2.
How should I start, hope any one will guide me to solve this issue.
Thanks,
Saqib