I just using a simple LINQ query having group by clause and trying to bind its result set to GridView. My LINQ query looks like
var expData = from c in WebDB.Tra
I had your problem either , I wrote like this . I hope this work for you :
var expData = from c in WebDB.TransTable group c by c.enterdate into g select new {EnterDate = g.Key};