Tech Junkie Blog - Real World Tutorials, Happy Coding!: LINQ

Latest Posts

Showing posts with label LINQ. Show all posts
Showing posts with label LINQ. Show all posts

Monday, March 9, 2015

In the last blog we just selected the Products entities from the NorthwindEntities with this Linq Query.

var query = from prod in nwctx.Products
         select prod;

It gets the job done but, the GridView displays the CategoryID and SupplierID as integers, which is not very useful to your users. Plus, we don't want to display the ProductID.












Search This Blog