Hi,
At the moment I have ResultsCollection = List<MyDataStructure>;
which is then analysed with LINQ using something like:
var OrderedData = from tc in ResultsCollection
...
select new { myLink = g.Key, Count = g.Count(), First = g.First() };
At the moment I have a Repeater that is deifned using:
myRepeater.DataSource = ResultsCollection;
myRepeater.DataBind();
Instead of binding my generic List, I would like to bind my LINQ collection instead. Only problem here is that the generic nature of the LINQ object means that DataSource cannot check and display the properties defined in MyDataStructure
How can I bind my LINQ query output to myRepeater?
Thanks!