Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String XML to Dataset
Message
 
To
14/09/2002 08:41:05
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00700485
Message ID:
00700510
Views:
8
>I have a component COM in VFP 7 that return one string XML. How I make to present this in a DataGrid?
>
>I try:
>
>lcXmlRet = (string) oVFP.SearchEmpresa("tes");
>DataSet loDS = new DataSet();
>
>loDS.ReadXml(lcXmlRet); ==> Error: Invalid URI: The URI scheme is not valid.
>
>this.DataGrid1.DataSource = loDS.Tables[0];
>this.DataGrid1.DataBind();

You will need to do the following...
StringReader loStream = new StringReader(lcXmlRet);
loDS.ReadXml(loXmlTextReader,XmlReadMode.ReadSchema);
- Jayesh
Previous
Reply
Map
View

Click here to load this message in the networking platform