Asp net 2 0 gridview onrowupdating
Edit Index = -1 Bind Grid View() End Using End Sub Protected Sub Grid View1_Row Canceling Edit(sender As Object, e As System.
Edit Index = -1 Bind Grid View() End Sub Note: Grid View1.
By using the Grid View Row object we can find the reference of any control in the row in which user is editing the data.
Now you can ask questions directly to me on my new site ASPForums.
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.
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.
Now I will show you the C# code behind file of the above ASP.
NET page that will handle different Grid View events to provide complete editing functionality.