Detailsview not updating gridview
I wish there was an easier way to do this or at least more documentation on Microsoft’s website.
Hi While working with Details View control I have come up with few resources when you want to perform update to the data within Details View using buttons out side of Details View control.
When I click on edit and change the values and press update.
The detailsview control changes back to read only and displays the original values.
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.
I have created a template field with various controls within. For more information about parameterized SQL queries and commands, see Using Parameters with the Sql Data Source Control. NET provider for the Sql Data Source control, associates the parameters in the collection by matching the name of the parameter with a placeholder alias in the SQL query.In this article I explained it using Bound Field In my Next Article I will show How to Edit Update Grid View Using Template Field.There are several ways for getting those dynamically generated textbox values we use that in different scenarios.