>>
>>public void ImportXML(DataSet Data, string XML)
>>{
>> StringReader sr = new StringReader(XML);
>> Data.ReadXML(sr, XmlReadMode.InferSchema);
>> Data.AcceptChanges();
>>}
>>
>
>Yes, the need to use a DataSet is limited to a specific method that only ASP.NET will read.
>
>I am trying to convert your code into ASP.NET and will let you know how it works.
>
>Thanks
What do you need to convert? It is C#? Are you using the Code-behind page? Are you using VB.NET? Are you coding inside of the .ASPX instead of the code-behind? You will need the System.Data, and the System.Xml reference.
Does that help?
Morgan