Vb net datagridview not updating

We have inserted the records from the windows form application to the database. We have used MS Access Database for the operations. Item("country") 'hide the course id to be edited txt Id. Show("No record selected for edit.", "Edit Error", Message Box Buttons. Show("Student details added", "Success", Message Box Buttons. Text & "',category='" & category & "',address='" & txt Address. Also, we have used Data Grid View to display the records from the database. Now, its time to update the records which we have saved already.

vb net datagridview not updating-21vb net datagridview not updating-42vb net datagridview not updating-41vb net datagridview not updating-21

In the next post, we will come with the Delete operation from the Database using Data Grid View. Your query and doubts are always welcome to resolve here.Here, I’m not going to change any controls in the windows form. Ole Db Data Adapter("SELECT *FROM student WHERE st_id =" & int St Id, con) Dim dt As New Data Table da. So, this is the database table which we have created in the previous tutorial. Show("Enter the Email", "Input Error", Message Box Buttons. Show("Enter the Contact", "Input Error", Message Box Buttons.

Leave a Reply