摘要: 方法一:DataTable tblDatas = new DataTable("Datas");DataColumn dc = null;dc = tblDatas.Columns.Add("ID", Type.GetType("System.Int32"));dc.AutoIncrement = true;//自动增加dc.AutoIncrementSeed = 1;//起始为1dc.AutoIncrementStep = 1;//步长为1dc.AllowDBNull = false;//dc = tblDatas.Columns. 阅读全文
posted @ 2010-12-26 18:08 DODUI 阅读(217) 评论(0) 推荐(0) 编辑