Updating gridview control

I’m using visual studio 2008 and sql server 2008 for this sample.

And here I’m explaining some basic functions of this gridview control such as insert edit and delete a record.We are taking here the example of “Northwind” database which comes with SQL server 2005.In this gridview example we would perform operations like insert, update and delete on this table thru Gridview.If you look at the Check Box Control, you will found that I am setting checked status from Database Report table status column. Data Bind() End Using End Sub Public Sub chk Status_On Checked Changed(sender As Object, e As Event Args) Dim chk Status As Check Box = Direct Cast(sender, Check Box) Dim n ID As Int64 = Convert. When user click on the Check Box control we need to run some server side code to update the Database status.

Leave a Reply