Row updating in vb net

Rated 4.30/5 based on 879 customer reviews

Find Control("cb1_VL"), Check Box) Dim Col1_ML = CType(Gridview1. Find Control("cb1_ML"), Check Box) Dim Col1_PH = CType(Gridview1.

Find Control("cb1_APH"), Check Box) Dim Col1_TOIL = CType(Gridview1.

These different Data Tables are bound to their Data Grid View's Data Source respectively.

My problem is whenever I modify something in the display area such as the description textbox below and then click on save....

I got this error message: You load your datatable from a table in sql server but you don't specify the primarykey of the datatable.

Add(dr) End Sub Private Sub btn Delete_Click(sender As Object, e As Event Args) Handles btn Delete. The add function seems doing well but the delete function makes me headache...

Leave a Reply