The data grid updates as soon as you update it's datasource. Unfortunately, the answer you are trying to submit has already been added.
I added the connection by drag and dropping the connection from the server explorer, as I did the adapter.
Well that all makes perfect sense to me, but I thought it is all configured correctly.
For this example i use the below table named tbl Supplier: Note: To test the example insert some test data into the above table. Now from the dropdown menu select the connectionstring “Test Connection”: Now click on next. Then click on advance and check Generate Insert, Update, and Delete statements checkbox.
Open the web.config file and add your connectionstring: Now add a Sql Data Source control. For this example this should be: Now add a Grid View in your page.
Set the Data Source plus check Enable Paging, Enable Sorting, Enable Editing & Enable Deleting like below: Now the code of the Grid View looks like below: Now run the project.
Our Grid View is now ready for Updating/Editing & Deleting.
NET Tutorial We Will See How To Create Buttons To Insert Data Into Sq LServer, Update Sq LServer Data, Delete Records From SQLServer Using Visual Basic .
NET Programming Language And Microsoft SQL Data Base. NET And SQL Server Database Tutorials: Connect Sql Server Database With https://
v=MWP8ge R76k I Update Data In Database Using Vbnet https://