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
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