LINQ and Gridview

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.
 
B

bob

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
 
A

Arne Garvander

Bob,
My experience with LINQ is that nothing is plausible until you try it and
have proof that it works.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,058
Latest member
QQXCharlot

Latest Threads

Top