Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loading dataset from a diffgram
Message
 
To
All
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Loading dataset from a diffgram
Miscellaneous
Thread ID:
01015501
Message ID:
01015501
Views:
69
Hi

I have a Dataset populated with data, i then send it to a VFP client which then uses it and returns a Diffram generated by VFP.

Back to .Net, i have this function to import the diffgram:
newDataSet = ds.Clone() // Clone the original, returns a new Ds with the structure but no data

sr = new System.IO.StringReader(theDiffGram);
System.Xml.XmlTextReader xmlr =  new System.Xml.XmlTextReader(sr);
newDataSet.ReadXml(xmlr, XmlReadMode.DiffGram); // Exception here
The exception states that the table referenced in the diffgram does not exist, but it does exist... since it's a clone from the original.

Anyone ?
Next
Reply
Map
View

Click here to load this message in the networking platform