Click to See Complete Forum and Search --> : DataTable


mrs
July 19th, 2004, 03:29 PM
I have a XML file that I loaded into a Dataset:

myWizardDataSet->ReadXml(filePath);

I want to read tables into the file:


void Form1::GetDataTables() {
this->myWizardDataSet->Tables["S12_Configuration"]->TableName = "S12_Configuration";

I am getting an error:
illegal index, indirection not allowed.
Left of tableNave must point to a struct/class

S12_Configuration is in the XML file.

I have similar code in C# and it behaves exactly the way I want.

How can this be corrected?

Thanks,

Matt

mrs
July 19th, 2004, 05:29 PM
I figured it out.

I wish there was as much documentation in C++ for datasets and datatables as there is in C#.

Matt

Vodzurk
July 26th, 2004, 04:37 AM
I wish there was as much documentation in C++ for datasets and datatables as there is in C#.

Me too :mad: