Gridview rowupdating cannot get new value

This example shows how to use a Row Data Bound event in a Grid View to highlight the rows or cells in ASP. This example is helpful in situations where you need to highlight the Grid View rows or cells based on a specific condition.

For demonstration purposes, I created a database (named Database.mdf) in which we have a table (named tbl_Employee).

We have selected four columns from Employee Details table.

I don't know about you, but I cringe every time I need to create a Grid View based layout that needs to create a few custom link handlers off that grid.

If you don't use one of the Data Source controls, you are required to handle the Row Updating event.

I confirmed this using Reflector: protected virtual void On Row Updating(Grid View Update Event Args e) { bool flag1 = base.

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Comments