In rowupdating event
We are your extended team and are working hard to make certain you have all the resources necessary to build your next great app.
Should you have any questions or wish to provide feedback on our documentation, feel free to email us at [email protected]
For a while now I’m trying to figure out why my method, triggered by the Grid View.
Row Updating event, doesn’t work as all samples say it should do.
Below is my ASP, and then my C# code (notes to myself and all, ha ha) ASPX: using System; using System.
MAny of the examples I see out there reference a data adapter.
Once, you got the values you just need to send them to the database.
HTML CODE: C# Code Behind: private void Bind Data() protected void gv Categories_Row Editing(object sender, Grid View Edit Event Args e) protected void gv Categories_Row Updating(object sender, Grid View Update Event Args e) does a template field allow you to get around indexing?
Thanks for choosing Dev Express for your software development needs.
Take a look at the page load if you are binding on post back then the values get updated before you are able to access them.
event is raised when a row's Update button is clicked, but before the Grid View control updates the row.
Every one can use it to compare the new value with old ones.
After searching long and hard I found a great article that solved my issue.