Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Databinding refresh
Message
 
To
01/12/2004 18:00:32
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00966178
Message ID:
00966233
Views:
7
Thanks,

That doesn't work for me :(, Everytime a take a step forward with this thing it seems like i'm taking two step backward...

I tried to do the same as you do, i little bit differently:
StringBuilder sb = new StringBuilder();
System.IO.StringWriter sw = new StringWriter(sb);
res.queryResult.WriteXml(sw);
StringReader sr = new StringReader(sb.ToString());
_cust.ReadXml(sr, XmlReadMode.InferSchema);
_cust.AcceptChanges();
I have the same result as if i replace the _cust value with a new Dataset, no update to the databinding fields.



>>Yes it's helps.... How do you reload your XML back into your existing Dataset ?
>
>With a string reader:
>
>StringReader sr = new StringReader(XML);
>Data.ReadXml(sr, XmlReadMode.InferSchema);
>Data.AcceptChanges();
>
>which is implemented in our DataSet base class.
>
>~~Bonnie
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform