lets say i have 1 table called Inventory and another table called itemType
Inventory
-itemID -PK
-Desc
-itemID- FK
itemType
-ItemID - PK with relation to inventory.itemI D - FK
-ItemName
I have a dataset with these tables and a bindingsource with the inventory table
I created a form to display both data
the question is, how do i bind data with itemType to a combo box so it allows me to view the item type for each item and save the changes. I can already save the changes for the inventory, but im having problems with displaying my itemTypeComboBo x properly, im not sure what to put in the
Data Bound Items> Data source, Display member, Value Member, Selected Item and Selected Value of the comboBox
Im using Visual Studio 2008 and SQL 2005
any suggestion would be greatly appreciated, im very new with visual basic so please be easy on me... thanks ^_^
Inventory
-itemID -PK
-Desc
-itemID- FK
itemType
-ItemID - PK with relation to inventory.itemI D - FK
-ItemName
I have a dataset with these tables and a bindingsource with the inventory table
I created a form to display both data
the question is, how do i bind data with itemType to a combo box so it allows me to view the item type for each item and save the changes. I can already save the changes for the inventory, but im having problems with displaying my itemTypeComboBo x properly, im not sure what to put in the
Data Bound Items> Data source, Display member, Value Member, Selected Item and Selected Value of the comboBox
Im using Visual Studio 2008 and SQL 2005
any suggestion would be greatly appreciated, im very new with visual basic so please be easy on me... thanks ^_^
Comment