M
Mr B
I had originally posted this in another thread, but did not get and results.
I appologize for cross posting but I really would like to get some assistance
with this.
I am new to developing in VB.net so my question may be very elementary with I
need some assistance, so here goes:
I am using vb.net 2003.
I have a form with four bound text boxes. I am using an ODBC data adapter
connecting to an Access database file. I am using the following line of code
in the on Load event of the form to populate the text boxes:
Me.OdbcDataAdapter1.Fill(Me.DsSomeInfo1, "tblSomeInfo")
There is only one record in the table and that record is displayed when i
run the project.
However, when I make any change to any of the four fields, the changes are
not being updated in the "tblSomeInfo" table.
Here is the code that I am using in the click event of a Save Button:
Me.OdbcDataAdapter1.Update(Me.DsTeamsInfo1, "tblTeamsInfo")
Me.Close()
After this code runs (and I have validated that is is running) the changes
to the data in the table has not changed.
I appologize for cross posting but I really would like to get some assistance
with this.
I am new to developing in VB.net so my question may be very elementary with I
need some assistance, so here goes:
I am using vb.net 2003.
I have a form with four bound text boxes. I am using an ODBC data adapter
connecting to an Access database file. I am using the following line of code
in the on Load event of the form to populate the text boxes:
Me.OdbcDataAdapter1.Fill(Me.DsSomeInfo1, "tblSomeInfo")
There is only one record in the table and that record is displayed when i
run the project.
However, when I make any change to any of the four fields, the changes are
not being updated in the "tblSomeInfo" table.
Here is the code that I am using in the click event of a Save Button:
Me.OdbcDataAdapter1.Update(Me.DsTeamsInfo1, "tblTeamsInfo")
Me.Close()
After this code runs (and I have validated that is is running) the changes
to the data in the table has not changed.