Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid URI: The URI scheme is not valid.
Message
From
22/08/2002 17:57:44
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00692663
Message ID:
00692699
Views:
25
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
Previous
Reply
Map
View

Click here to load this message in the networking platform