DataSet与字符串转换
DataSet StringToDataSet(string str){
System.IO.StringReader sr=new System.IO.StringReader(strDsc);
DataSet ds=new DataSet();
ds.ReadXml(sr);
return ds;
}
String DataSetToString(DataSet ds){
string str=ds.GetXml();
return str;
}
System.IO.StringReader sr=new System.IO.StringReader(strDsc);
DataSet ds=new DataSet();
ds.ReadXml(sr);
return ds;
}
String DataSetToString(DataSet ds){
string str=ds.GetXml();
return str;
}