Filtering combo box with data from the database in c#

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi all,
I am fetching data from the database and displaying in combo box.
eg) 1st Table: Product Table
P_No, P_Name, Price, Manufacture (Company Name)
2nd Table: Manufacture
M_No, Manufacture , Add
Manufacture have many product.
I am trying to create windows application in c# where user can select Manufacture from combo box list and all its related item will be display in grid. I am able to get the Manufacture list but name is repeating in combo box. eg) msdn manufacture 2 item
then msdn will be display twice.
How to filter name in combo box.
Thanks.
<hr class="sig Rushabh

View the full article
 
Back
Top