Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi all,

 

I created two datatables in memory with the schema of the database tables, (they're empty they're 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 don't 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 it's more easy and faster.

 

Any ideas of good practices about this?

 

 

Thanks very much,

 

Teixeira

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...