S
Séan Connolly
I have a dataset that is based on an xml file, which contains the same
structure as a sql server table and is exported from a dataset.
When I do: sqlDataAdapter.Update(dataset, strTableName) I get the
error:
"Missing the DataColumn 'InspectionDate' in the DataTable
'tblEquipmentInspections' for the SourceColumn 'InspectionDate'
The reason the column InspectionDate is missing is beacuse its a null
value and when you export a dataset to xml in dot net it doesn't
create an entry for any null columns in the xml.
I'm guessing I need to do something with table mappings but I'm not
sure where to go.
Any ideas ?
Many thanks
Séan
structure as a sql server table and is exported from a dataset.
When I do: sqlDataAdapter.Update(dataset, strTableName) I get the
error:
"Missing the DataColumn 'InspectionDate' in the DataTable
'tblEquipmentInspections' for the SourceColumn 'InspectionDate'
The reason the column InspectionDate is missing is beacuse its a null
value and when you export a dataset to xml in dot net it doesn't
create an entry for any null columns in the xml.
I'm guessing I need to do something with table mappings but I'm not
sure where to go.
Any ideas ?
Many thanks
Séan