joining 3 tables in dataset

  • Thread starter Artur Niesporek
  • Start date
A

Artur Niesporek

hi

my problem is that i have to load 3 different tables from different databases into one dataset and do a join on all. i loaded all tables into one dataset and created datarelations between the 3 tables. now i am looking for a way to do a join between all those tables so that i will be able to databind the result to a datagrid

the tables are somewhat of these values

table1 table2 table
code_id --- code_id rat
somevalue rate_id --- rate_i
somevalu

the relationships between the tables are: table1 <-> table2 1:1 and table2 <-> table3 1:1

any hints would be appreciated

thank
artur
 
A

Alvin Bruney [MVP]

you cannot join tables because this functionality is not provided. However,
you can define table relationships between these tables or if you want to
look up data, you can search with restrictions.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/27cok
Artur Niesporek said:
hi,

my problem is that i have to load 3 different tables from different
databases into one dataset and do a join on all. i loaded all tables into
one dataset and created datarelations between the 3 tables. now i am looking
for a way to do a join between all those tables so that i will be able to
databind the result to a datagrid.
 
J

Jeffrey Tan[MSFT]

Hi artur,

Does Alvin's reply makes sense to you? Do you still have any concern?

Please feel free to feedbac, we will help you. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
J

Jeffrey Tan[MSFT]

Hi artur,

Thanks for your feedback.

Yes, the technical this article shows is the best way to handle this issue
now. Anyway, if you meet any further problem on this issue, please feel
free to feedback, I will help you. Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
J

Jeffrey Tan[MSFT]

Hi artur,

Does this KB's solution works for you? Do you still have any concern?

Please feel free to let me know, I will help you. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top