Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Databinding refresh
Message
 
À
01/12/2004 18:00:32
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00966178
Message ID:
00966233
Vues:
8
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform