Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid URI: The URI scheme is not valid.
Message
De
22/08/2002 17:57:44
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00692663
Message ID:
00692699
Vues:
24
Evan,

It doesn't take that much effort ... seems you're just going about it the hard way. <g> We use a class that has this method in it:
public void ImportXML(DataSet Data, string XML)
{
    StringReader sr = new StringReader(XML);
    Data.ReadXML(sr, XmlReadMode.InferSchema);
    Data.AcceptChanges();
}
~~Bonnie


>>ReadSchema() has eight overloaded methods and none of them accepts String as XML..Try the following..
>
>It is very strange that is takes all of this effort to read an XML string into a dataset. To get the XML out of a dataset it is just
>
>lcXML = dsEvan.GetXML()
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform