Posted on: 5/24/2014 7:32:24 AM | Views : 370

Good day, i have little challeng, I have a list of record in my database
name total score John 202 Simeon 303 john 100 simeon 200 kennedy 100 kennedy 200 /*I have so many of those records on my database, i want to querry the record and view them in gridview but i want to group them i have this querry */ SchoolEntitycontext sdc = new SchoolEntitycontext(); var cdc = from c in sdc.records select new { c.RecordId, c.Name, c.Score }; if (cdc.Count() > 0) { Gridrecord.DataSource = cdc; Gridrecord.DataBind(); } //Using Entity framework to linq it works well to populate the record o ...

Go to the complete details ...