摘要:
.net动态创建DataTableDataTable dt = new DataTable("WuyeTypeTable"); DataColumn coll = dt.Columns.Add("Title", typeof(string)); coll.AllowDBNull = false; coll.Unique = true; DataRow dr; //dt.Columns.Add(coll); for (int i = 0; i < WuYeType.Length; i++) { dr = dt.NewRow(); dr["T 阅读全文
posted @ 2011-05-12 15:47 小飞龙(Jack) 阅读(797) 评论(0) 推荐(0) 编辑