摘要:
当项目里不用数据库,或者需要一种即时(不需要保存数据)的表结构的时候,可以考虑DataTable的创建。一、创建DataTable:DataTable newdt = new DataTable("T_Method"); 添加新列:(列名,类型) newdt.Columns.Add("Id", typeof(int)); newdt.Columns.Add("VarNum", typeof(string)); newdt.Columns.Add("BuySell", typeof(string)); newdt.C 阅读全文
posted @ 2012-12-18 10:05
dreamfly_cc
阅读(2190)
评论(0)
推荐(1)

浙公网安备 33010602011771号