LINQ and Gridview

  • Thread starter Thread starter Arne Garvander
  • Start date Start date
A

Arne Garvander

How do I take the output from a LINQ query and input it to a Gridview?
The LINQ book I am reading uses console.writeline after every LINQ query,
which is totally useless for a real world application.
 
Hi Arne,
Check out the ObjectDataSouce.
Get the feeling that the output of your LINQ query could be bound to
it. Something like LINQ -> IEnumerable<T> -> ObjectDataSource
Bind the Datagrid to the ObjectDataSource and your done.
Well...
sounds plausible. Never done it.
Bob
 
Bob,
My experience with LINQ is that nothing is plausible until you try it and
have proof that it works.
 
Back
Top