Updating row in gridview mi speed dating
In practical scenario you should use your existing architecture to populate and update the data.
In this article, I am going to take a simple database table that has following fields: Auto ID - Int, Auto Increment, Primary Key Page Name - Varchar(50) Page Description - Varchar(500) Active - Bit(1) In this article, I am not going to explain the workings of Sql objects but focusing on the events and methods of the Grid View that will help us in updating and deleting the records.
Inside the Row Updating event u can code for updation ex: Protected Sub Grid View1_Row Updating(By Val sender As Object, By Val e As System. Microsoft is conducting an online survey to understand your opinion of the Msdn Web site.If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site. As there is no row at -1 position so Grid View will be shown in normal mode.When Update link of the Grid View will be clicked (in edit mode), On Row Updating event will fire that will call Update Record method.