Hi,
I have a .net / ado application (with an access database).
I can get it to read into the dataset and display records in a list box etc but when I go to update a password (a field within a table) I get this error...
Additional information: Update requires a valid UpdateCommand when passed DataRow collection with modified rows.
The code i used for updating is:
usersDataSet.Tables("users").Rows(lstUsers.SelectedIndex).Item(2) = "password"
dbUsers.Update(usersDataSet, "users")
MsgBox("Done")
Any ideas from anyone as to why it wont update the actual database?
Many thanks.
Chris
I have a .net / ado application (with an access database).
I can get it to read into the dataset and display records in a list box etc but when I go to update a password (a field within a table) I get this error...
Additional information: Update requires a valid UpdateCommand when passed DataRow collection with modified rows.
The code i used for updating is:
usersDataSet.Tables("users").Rows(lstUsers.SelectedIndex).Item(2) = "password"
dbUsers.Update(usersDataSet, "users")
MsgBox("Done")
Any ideas from anyone as to why it wont update the actual database?
Many thanks.
Chris