Rowupdating does

08 Mar

One approach to solving this problem is to clone the command object so you have a different actual reference: This will work, but since the Command Builder is still connected to the Data Adapter, the Row Updating event will still fire and performance will be hit.All samples of course assume you’re doing everything in your page, but I have to do everything in my code-behind, because on forehand I don’t know what I’ll be binding to my Grid View.Check out what I’m trying to do, maybe you can help?You'll be able to ask questions about coding or chat with the community and help others. When a client begins a transaction in classic My SQL, all subsequent commands (on that connection) are part of that transaction until the client commits or rolls back the transaction.

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. It'd be great if you could provide some sample code here. I am using the Row Updating event to programmatically update my database, but the new values are already gone by the time the Row Updating event is fired. I have found several forum postings detailing this but no one has posted their solution. Another way to get values out of the gridview is to put the interesting fields in Data Key Names, which can be a very ugly solution because the viewstate grows as a result of this.