Hello,
I have a problem I can't get past. I'm getting the error "Update requires a valid UpdateCommand when passed DataRow collection with modified rows." when trying to update a dataset.
The details:
Using Visual Studio 2005 (VB 2005);
I used the dataset designer to configure the dataset;
I'm using Oracle, with Microsoft's Oracle data provider;
I drug the data set, from the Data Sources tab in VS, to a windows form using the datadridview option;
After changing row data, I click a "Save" button that runs this code -
Me.Validate()
Me.TblUserBindingSource.EndEdit()
Me.TblUserTableAdapter.Update(Me.DataSet_User.tblUser)
I have verified that:
there is a Primary Key on this table;
the Generate Update, Insert, and Delete statements checkbox is checked in the dataset designer.
Does Oracle generate these statements?
PLEASE - any suggestion are greatly needed.
Thanks,
Carl
I have a problem I can't get past. I'm getting the error "Update requires a valid UpdateCommand when passed DataRow collection with modified rows." when trying to update a dataset.
The details:
Using Visual Studio 2005 (VB 2005);
I used the dataset designer to configure the dataset;
I'm using Oracle, with Microsoft's Oracle data provider;
I drug the data set, from the Data Sources tab in VS, to a windows form using the datadridview option;
After changing row data, I click a "Save" button that runs this code -
Me.Validate()
Me.TblUserBindingSource.EndEdit()
Me.TblUserTableAdapter.Update(Me.DataSet_User.tblUser)
I have verified that:
there is a Primary Key on this table;
the Generate Update, Insert, and Delete statements checkbox is checked in the dataset designer.
Does Oracle generate these statements?
PLEASE - any suggestion are greatly needed.
Thanks,
Carl