我用string保存了 由web service 返回的string类型的xml。 也可以使用xmlDocument.LoadXml(str);保存为xmlDocument。
但是要怎样转化为DataSet的数据类型呢?
请大大指教!
但是要怎样转化为DataSet的数据类型呢?
请大大指教!
string
result
=
client.Method();
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.LoadXml(result);
// ???
DataSet ds = new DataSet( " weather " );
// 怎样把 xmlDoc的xml数据保存在DataSet中? 2009年8月21日16:00:46
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.LoadXml(result);
// ???
DataSet ds = new DataSet( " weather " );
// 怎样把 xmlDoc的xml数据保存在DataSet中? 2009年8月21日16:00:46