I have a pretty complicated Linq query that I can’t seem to get into a LinqDataSsource for use in a GridView:
IEnumerable<ticket> tikPart = ( from p in db.comments where p.submitter == me.id && p.ticket.closed == DateTime.Parse('1/1/2001') && p.ticket.originating_group != me.sub_unit select p.ticket ).Distinct();
How can I get this into a GridView? Thank you!
You can setup your Gridview with no Datasource. Setup the gridview columns, and in codebehind bind that result to the grid view.