Sylvain,
>On the client side, I couldn't find neither how to create a DataTable from a XML. All the methods that I've found that create a DataTable accept a XML from a stream or a file.<Yeah, examples of this don't seem to be easy to find, but it's quite easy to do:
DataSet oData = new DataSet();
StringReader sr = new StringReader(XML);
oData.ReadXml(sr, XmlReadMode.InferSchema);
~~Bonnie
>Thanks Kevin. I looked at this technique, but could not find how to make it work. On the server side, GetXML return the XML without the schema. You need to call GetXMLSchema to get it. My understanding is that you should return a well-formed XML that contains both the data and the schema, but I can't find how to bind the results of GetXML and GetXMLSchema together.
>
>On the client side, I couldn't find neither how to create a DataTable from a XML. All the methods that I've found that create a DataTable accept a XML from a stream or a file.
>
>>Several people have also recommended converting the dataset to/from XML when you pass between physical boundaries (by using MyDataSet.GetXml). This would allow other programs to tap into your application.