M
mtczx232
The linq can query Datatable? have some example?
i'm not sure that Dlinq deal with Datatable!!??
again my q: Have a simple way to Query Datatable by Linq?
without build new Data modeling or Link to any Database.
just query datatable?
Frans Bouma said:Yes that's possible. Every IEnumerable<T> is queryable through Linq.
This is simply traversing the list and returning a new IEnumerable<T>
with the elements of type T matching the query.
Miha said:The problem is that DataRowCollection doesn't implement
IEnumerable<T> at this time....
No, but IEnumerable of course also works if I'm not mistaken (as
IEnumerable<T> implements IEnumerable)