Hello Everyone,
I am using access db. In database there is 1 table having company and addres as columns.
I have retrieved company in combo box.. What I want is on the selection of company in combo box it should display appropriate address in label..
I have retrieve data in combo box through wizard.
Can anyone please help me in write code..
Thanks in advance..
Loading
Nir BarPosted Sep 30, 2009, 9:26 AM
It should be:
Please mark this post as an answer if it helps you
Nir
Nir BarPosted Sep 30, 2009, 10:12 AM
Nir
chetan bhattadPosted Sep 30, 2009, 9:53 AM
Because When I use above code for decimal column, it is taking NULL value...
chetan bhattadPosted Sep 30, 2009, 9:41 AM
chetan bhattadPosted Sep 30, 2009, 9:23 AM
Thanks a ton for your valuable reply..
It works for me..
1 small problem when I am giving column name it is giving error.. Address not exist in current context..
but when I use row[1] it works...
Thanks again
Nir BarPosted Sep 30, 2009, 8:53 AM
You need to create an event-handler for selection in the combo-box
Code should be like (I didn't try to compile it)
Please mark this post as an answer if it helps you
Nir