摘要:
//排序 if (ds != null && ds.Tables.Count > 0) { DataView dv = new DataView(); dv.Table = ds.Tables[0]; dv.Sort = "id asc"; DataTable dts = dv.ToTable(); DataSet dss = new DataSet(); dss.Tables.Add(dts); return Connector.ToXml(dss); } 阅读全文