📅  最后修改于: 2022-03-11 14:49:13.281000             🧑  作者: Mango
IEnumerable query =
from order in orders.AsEnumerable()
where order.Field("OrderDate") > new DateTime(2001, 8, 1)
select order;
// Create a table from the query.
DataTable boundTable = query.CopyToDataTable();