Gridview rowupdating event from code
' I am marking this also as answer,,let other less understanding guys like me benefit.. Yes it is IF NOT Is Post Back, HAHAHAHA I am a more familier with VB ..missed to read that '!
Next Select your database and Set “Save Entity connection string in Web.config as” option true giving name Sample Entities.aspdotnet-suresh offers C#articles and tutorials,csharp dot net,articles and tutorials, VB.This article explains how to perform insert, update and delete operations in ASP. Let us take an example to perform CRUD operations using Entity Framework Database First approach.David I suggested that the Row Updating function was being blocked by the . Data Bind() in the Row Command event so that only the Edit command will activate it (take it out of Row Editing). Twice for Row Command (1 for Row Editing and 1 for Row Canceling) and once for Row Editing. I am going to try and create this not as a web application but rather as a website and see if I notice any differences. Data Bind() in Row Editing, I said nothing about what might happen if you removed it. Then set your breakpoints in Row Command, Row Editing, and Row Updating and we'll see what happens. David OK, I'm offically out of bullets, at least for now. If I get some time, I'll see if I can duplicate this, but I'm suspecting there's something out there that neither of us have looked at yet.