data relations

J

Joe Van Meer

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
 
G

Guest

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
 
J

Joe Van Meer

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 said:
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).
 

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

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top