摘要: 这里说到的查询有两种。 1.DataTable.Select 2.DataTable.Rows.Find DataRow[] rows = dt.Select("Id=2 and Name like 'tang%'"); // 设置主键,可以使用复合主键 dt.PrimaryKey = new Da 阅读全文
posted @ 2016-08-10 17:13 liquors 阅读(289) 评论(0) 推荐(0)