Inserting Multi Table Dataset into Dataset

  • Thread starter Thread starter Beach Bum
  • Start date Start date
B

Beach Bum

Hi,

I have a dataset with 6 relational datatables within it. I want to
insert the data into corresponding tables within a SQL db. Is there a
quick way of doing it instead of having to loop through each table
inserting the record and the child datatables? Using C# .NET 2 and SQL
Server 2005.

Thanks!
 
Beam,

I don't really understand what you mean with loop through each table.

However, try to create a strongly typed dataset with drag and drop and have
a look at table mapping.

Cor
 
Back
Top