Inserting Multi Table Dataset into Dataset

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!
 
C

Cor Ligthert[MVP]

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
 

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

Top