标签:
DataTable dt = null; foreach (DataRow dr in dt.Rows) { for (int j = 0; j < dr.ItemArray.Length; j++) { tempColumName = dt.Columns[j].ColumnName; drDic.Add(tempColumName, dr.ItemArray[j].ToString()); } dtDic.Add(drDic); }
标签:
原文地址:http://www.cnblogs.com/love-zf/p/5881378.html