泛型对象Lists转xml
摘要:
public static string ListtoXML(List lists) { if (lists.Count "; } StringBuilder xml = new StringBuilder(); T dt = lists[0]; System.Reflection.PropertyInfo[] pis = dt.GetType().GetProperties(); int count = pis.Length; ... 阅读全文
posted @ 2014-01-13 17:51 习惯简单 阅读(423) 评论(0) 推荐(0) 编辑