J
Jason Yau
I'm having trouble trying to update an Access database
file. I get the following error:
************** Exception Text **************
System.Data.OleDb.OleDbException: Parameter ?_92 has no
default value.
at System.Data.Common.DbDataAdapter.Update(DataRow[]
dataRows, DataTableMapping tableMapping)
at System.Data.Common.DbDataAdapter.Update(DataSet
dataSet, String srcTable)
at System.Data.Common.DbDataAdapter.Update(DataSet dataSet)
,etc.
My database has 89 fields, of which the 89th is an
autonumber, primary key, indexed no-duplicate field. I
don't understand why it's giving an error about parameter
92. I have no trouble selecting the data and putting it
into a Dataset/Dataview and editing with a DataGrid, but
when I run the following code, I get the error above.
oleDbDataAdapter1.Update(dataSet1);
Any help here would be much appreciated.
Jason
file. I get the following error:
************** Exception Text **************
System.Data.OleDb.OleDbException: Parameter ?_92 has no
default value.
at System.Data.Common.DbDataAdapter.Update(DataRow[]
dataRows, DataTableMapping tableMapping)
at System.Data.Common.DbDataAdapter.Update(DataSet
dataSet, String srcTable)
at System.Data.Common.DbDataAdapter.Update(DataSet dataSet)
,etc.
My database has 89 fields, of which the 89th is an
autonumber, primary key, indexed no-duplicate field. I
don't understand why it's giving an error about parameter
92. I have no trouble selecting the data and putting it
into a Dataset/Dataview and editing with a DataGrid, but
when I run the following code, I get the error above.
oleDbDataAdapter1.Update(dataSet1);
Any help here would be much appreciated.
Jason