摘要:
public static DataSet ToDataSetByStream(string Stream) { DataSet ds = new DataSet(); StringReader str = new StringReader(Stream); XmlTextReader xm = new XmlTextReader(str); ds.ReadXml(xm); return ds; } 阅读全文
摘要:
/// /// 将List集合 转换成 DataTable /// /// sellerSearchDealList是我自己定义的一个类 public static DataTable ListToTable(List entitys) { DataTable dtresult = new DataTable(); if (entitys == null || entitys.Count < 1) { throw new ... 阅读全文