DataTable添加列和行的三种方法
摘要:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#region 方法一: DataTable tblDatas =new DataTable("Datas"); DataColumn dc =null; dc = tblDatas.Columns.Add("ID", Type.GetType("System.Int32")); dc.AutoIncrement =true;//自动增 阅读全文
posted @ 2010-11-25 13:52 JRoger 阅读(65426) 评论(0) 推荐(2) 编辑