摘要: 用法table = new DataTable();添加列:table.Columns.Add(new DataColumn() { ColumnName = "ID", DataType = typeof(int) });DataRow row = new DataRow();row["ID"] = i;table.Rows.Add(row);不支持 row[0],即不能按索引指定列只能用列名.... 阅读全文
posted @ 2010-02-05 10:29 破刀 阅读(609) 评论(0) 推荐(0) 编辑