teixeira
Well-known member
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
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