>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