Asp onrowupdating not working

Rated 3.88/5 based on 883 customer reviews

In many situations we want to bind a fully, in-place operational Grid View with a dynamically changing data source.This article shows how Grid View can be templated programmatically at run time and how is it possible to do edit, insert and delete operations on it. I am not able to get the changed values that i enter in the grid view .My best effort got me the value that was in gridview before editing or changing. In practical scenario you should use your existing architecture to populate and update the data.

I will be using Sql objects directly into methods to keep the example simple and straight forward.

Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries. Just click the Ask Now button and ask your question now.

NET [97] Chart [27] Grid View [24] AJAX [15] JQuery [14] Google chart [13] Fusion Charts [8] i Text Sharp [8] PDF [8] ASP.

This example shows how to edit and update records in a Grid View in ASP. This example is helpful in situations where an administrator needs to edit several records from the database.

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

Leave a Reply