I'm new to programming vb.net. And i wont to try to save changes that i have made in a datagridview to my database.
Only, it it is not working. No changes are saved to the database. However the datagridview is filled with the results of my query.
My source looks like this:
I'm using the book titled "Database Programming with Visual Basic® .NET and ADO.NET: Tips, Tutorials, and Code".
I'm going through the chapter that has me do data binding by setting the properties of a DataGrid and TextBoxes.
It had me drag a DataAdapter onto the form using the...
Public Shared Sub set_week(ByVal p As Integer, ByVal week As Integer)
If p = 1 Then
p = 3
p = 4
Dim con As New OleDb.OleDbConnection
con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = " +...