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

data relations

P: n/a
Hi again,

When you fill a dataset with 3 seperate queries does asp .net automatically
put the tables into the datatables collection for you for later reference or
do I have to declare a new datatable for each table I plan on adding into my
datarelation?

Cheers, Joe
Nov 18 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hi, Jo

These 3 tables should be added into the dataset automatically and can be references as ds.Tables(0), ds.Tables(1) and ds.Tables(2).
However, you have to add the datarelations if you need

Bin Song, MCP
Nov 18 '05 #2

P: n/a
Hi Bin,

Thank you very much for your quick reply! So just to make sure, I don't
have to add these tables into the Tables collection since that was done when
I created my relations between the tables?
Cheers, Joe :)
"Bin Song, MCP" <an*******@discussions.microsoft.com> wrote in message
news:B1**********************************@microsof t.com...
Hi, Joe

These 3 tables should be added into the dataset automatically and can be references as ds.Tables(0), ds.Tables(1) and ds.Tables(2). However, you have to add the datarelations if you need.

Bin Song, MCP

Nov 18 '05 #3

P: n/a
Hi, Joe

It should be ready after you fill it through dataadapter

Bin Song, MCP
Nov 18 '05 #4

P: n/a
Thanks again Bin!

Chat soon...lol

cheers, Joe :)

"Bin Song, MCP" <an*******@discussions.microsoft.com> wrote in message
news:49**********************************@microsof t.com...
Hi, Joe,

It should be ready after you fill it through dataadapter.

Bin Song, MCP

Nov 18 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.