Rowupdating event in gridview in asp net dating ettiquette
The problem is, I’d very much like to do so, if ASP. But I can’t set a Data Source property or anything on the Sql Data Source!!! I probably have to read the cells on the Grid View of the selected row, find the controls, get the values from those and insert those into my Data Set. On Row Deleting - can call registered event handlers" I couldnt figure out how to continue this thread, but the issues in it are related so i'm including it as a reference.Row Updating event, doesn’t work as all samples say it should do.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.
Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free.Note A common mistake that a lot of people do is that they perform a databind each and every-time the Page_Load method is called.This will lead to problems like "Grid View does not show updated values", "Grid View looses values changed by user". In your Page_load, this is typically only inside a block where you check to make sure that Page_Load is not being called during a post-back call.You'll be able to ask questions about coding or chat with the community and help others.For a while now I’m trying to figure out why my method, triggered by the Grid View.