I need update database with new records which have been added by operator. I am trying get all the records of dataset (business units, for example), but I don´t know how to do this.
I have wroten this code.
IDataSetQuery datasetQuery = DataSet.CreateQuery();
IRecordset recordset = DataSet.GetRecords(datasetQuery);
int count = DataSet.GetRecordsCount(datasetQuery);
But it returns an error:
Can you help me?