Hello,
I have a simple vb.net project with a form, dbSource, DataSet, BindingSource and TableAdapter. On the form there is a DataGridView, that links to a table in SQL Server (all of these are controls, dropped onto the form from the Data Toolbox).
When I run the form the DataGridView is populated with data, looks great.
The problem is when I try to change a value in the DataGridView, it won't update SQL Server. I can make a change, but it's not reflected in the database. When I close the form and run it again, my changes are lost.
I'm new to VB.NET (used to VB6), so any help here is greatly appreciated!
Thanks,
Jason
I have a simple vb.net project with a form, dbSource, DataSet, BindingSource and TableAdapter. On the form there is a DataGridView, that links to a table in SQL Server (all of these are controls, dropped onto the form from the Data Toolbox).
When I run the form the DataGridView is populated with data, looks great.
The problem is when I try to change a value in the DataGridView, it won't update SQL Server. I can make a change, but it's not reflected in the database. When I close the form and run it again, my changes are lost.
I'm new to VB.NET (used to VB6), so any help here is greatly appreciated!
Thanks,
Jason