By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,694 Members | 1,332 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,694 IT Pros & Developers. It's quick & easy.

Binding Combobox with 2 tables

P: n/a
Ben
Hello,

I have en connection string which use 2 tables...

I have a combobox which :
- Display a value from TABLE1
- the value from TABLE2

But it doesn't run :-((

I would like that the combobox display a value from TABLE1 and return a
value from TABLE2...

How to do ?

It's run with 1 table, but on 2 tables, there is an error with child...

Thanks
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

You have to bind it to a datatable which has the data from both
tables in. You would have to use a sql statement with a inner join in it to
get data from 2 tables.

Ken
-------------
"Ben" <b.*@b.b> wrote in message
news:3f***********************@reader0.news.skynet .be...
Hello,

I have en connection string which use 2 tables...

I have a combobox which :
- Display a value from TABLE1
- the value from TABLE2

But it doesn't run :-((

I would like that the combobox display a value from TABLE1 and return a
value from TABLE2...

How to do ?

It's run with 1 table, but on 2 tables, there is an error with child...

Thanks

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.