updating batches of data
Posted
by gaponte69
on Stack Overflow
See other posts from Stack Overflow
or by gaponte69
Published on 2010-04-02T09:58:23Z
Indexed on
2010/04/02
10:03 UTC
Read the original article
Hit count: 270
I am using GridView in asp .net and editing data with edit command field property (as we know after updating the edited row, we automatically update the database), and I want to use transactions (with begin to commit statement - including rollback) to commit this update query in database, after clicking in some button (after some events for example), not automatically to insert or update the edited data from grid directly to the DB...so I want to save them somewhere temporary (even many edited rows - not just one row) and then to confirm the transaction - to update the real tables in database...
Any suggestions are welcomed...
I've used some good links, but very helpful, like: http://www.asp.net/learn/data-access/tutorial-63-cs.aspx http://www.asp.net/learn/data-access/tutorial-66-cs.aspx etc...
© Stack Overflow or respective owner