Click here to Skip to main content
15,892,965 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have two tbl
1-loadingpoint
2-rates

in loading point i made id (pk),loadingpointname with textbox.

in rates id(pk),fromid(fk)associated with loadingpoint tbl.
i can see loading name with lookup value in access 2003 format.
but when using vb2005 with window form and textbox i can see only number of id from loading point tbl instead of loadingpoint name.i have two tbl
1-loadingpoint
2-rates

in loading point i made id (pk),loadingpointname with textbox.

in rates id(pk),fromid(fk)associated with loadingpoint tbl.
i can see loading name with lookup value in access 2003 format.
but when using vb2005 with window form and textbox i can see only number of id from loading point tbl instead of loadingpoint name.
Posted

1 solution

Check this out: How to populate a combo box from a dataset in VB.Net[^]
There are 2 properties ValueMember and DisplayMember for the combo box.
The id should be bound to the ValueMember, while the loadingpointname bound to the DisplayMember.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900