Update database with dataset values

Hi Dears,

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();
datasetQuery.AddValue("CountryCode", "ES");

IRecordset recordset = DataSet.GetRecords(datasetQuery);
int count = DataSet.GetRecordsCount(datasetQuery);

But it returns an error:

Can you help me?

Best regards.

Was this article helpful?

0 out of 0 found this helpful



Please sign in to leave a comment.