PRAISE PHS
Well-known member
- Joined
- Jun 2, 2011
- Messages
- 58
- Programming Experience
- Beginner
Hi All,
Pls, kindly help me out with this project:
I have three SQLSERVER DB tables named products, part no and serial no and each having there various primary keys. The primary key(ItemID) of products table is a foreign key on both serial no and part no tables. Also, a product has more than one serial nos and part nos depending on the quantities of the product. Now I'm trying to display all my available products in stock on datagridview. The columns on the grid view are item name, serial no, part no and quantity in stock. The serial no and part no columns are combo boxes.
Now my question is: How do I populate the serial no and part no columns which are combo boxes with the different serial nos and part nos on my DB for a particular item name.
Thanks and a prompt reply will be appreciated.
Pls, kindly help me out with this project:
I have three SQLSERVER DB tables named products, part no and serial no and each having there various primary keys. The primary key(ItemID) of products table is a foreign key on both serial no and part no tables. Also, a product has more than one serial nos and part nos depending on the quantities of the product. Now I'm trying to display all my available products in stock on datagridview. The columns on the grid view are item name, serial no, part no and quantity in stock. The serial no and part no columns are combo boxes.
Now my question is: How do I populate the serial no and part no columns which are combo boxes with the different serial nos and part nos on my DB for a particular item name.
Thanks and a prompt reply will be appreciated.