摘要: DataTable dt = new DataTable(); DataColumn dc1 = new DataColumn(); dc1.ColumnName = "列名1"; DataColumn dc2 = new DataColumn(); dc2.ColumnName = "列名2"; dt.Columns.Add(dc1); dt.Columns.Add(dc2); DataRow dr1 = dt.NewRow(); dr1["列名2"] = "行值1"; dr1["列名1"] 阅读全文
posted @ 2011-07-31 11:44 solomon_Blog 阅读(486) 评论(0) 推荐(0) 编辑