摘要: DataTable orders = ds.Tables["SalesOrderHeader"];// Query the SalesOrderHeader table for orders placed // after August 8, 2001.IEnumerable<DataRow> query = from order in orders.AsEnumerable() where order.Field<DateTime>("OrderDate") > new DateTime(2001, 8, 1) selec 阅读全文
posted @ 2012-09-11 22:32 tinaleft 阅读(145) 评论(0) 推荐(0) 编辑