In this article we create a Gridview from database and add some additional operations such a add, edit and delete data in the Grid View control.
In the previous article , we learned how to create a simple Grid View at runtime .
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.
In addition to just displaying data, the Grid View can be used to edit and delete the displayed data as well.