不通过DataRow,直接往DataTable中添加新行DataTable.LoadDataRow(object[],bool)

DataTable dtver = new DataTable();
                dtver.Columns.Add("VERSION");
                dtver.Columns.Add("EFF");
                dtver.Columns.Add("OUT");

dtver.LoadDataRow(new string[3] { CDNaipVersion.Version, CDNaipVersion.Eff_date, "" }, true);

posted on 2016-11-10 15:52  mol1995  阅读(1366)  评论(0编辑  收藏  举报

导航