data relations

  • Thread starter Thread starter Joe Van Meer
  • Start date Start date
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
 
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
 
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).
 
Back
Top