Appending two data tables

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi -

I'm looking for a code sample that will let me append a data table to a
second master data table. You can assume that the tables' structures are
identical.

Seems like there should be a method to do this, but I can't find one.

Thanks,
Mark
 
Merge works for .NET Framework 2.0. (I'm running 1.0)

I used the ImportRow method:

For i = 0 to dt.rows.count - 1
dtMain.ImportRow(dt.Rows(i))
next i


Thanks for your comments
 

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

Back
Top