1. 创建DataView
EnumerableRowCollectionexpr = from p in products.AsEnumerable() orderby p.Field ("SortOrder") select p;DataView view = expr.AsDataView();
2. DataView查询
EnumerableRowCollectionexpr = from p in products.AsEnumerable() where p.Field ("UnitPrice") > 10m && p.Field ("ProductName").StartsWith("LINQ") select p;DataView view = expr.AsDataView();