Store information into the database using datatables... some troubles

teixeira

Well-known member
Joined
Apr 5, 2005
Messages
94
Location
LEIRIA-PORTUGAL
Hi all,

I created two datatables in memory with the schema of the database tables, (theyre empty theyre just with the same schema) and after i fill theses datatables i wanna put the data back to the database how can I make this in a simple, easy and performant way?.
I could get the tables from the database and add the rows and after invoke the accepChanges() method but i dont want get the stored records to make it faster.
I could have also my InsertCommand and put the data in the tables on the database but adding the rows directly to the datatables i think its more easy and faster.

Any ideas of good practices about this?


Thanks very much,

Teixeira
 
Back
Top