:::: MENU ::::
Monthly Archives: September 2011


Distinct with LINQ

Here is one more LINQ Problem. Let’s think of scenario having record as below ProductId:1 , ProductName=”Product 1″ , CategoryId=2; ProductId:2 , ProductName=”Product 2″ , CategoryId=3; ProductId:3 , ProductName=”Product 3″ , CategoryId=1; ProductId:4 , ProductName=”Product 4″ , CategoryId=1; ProductId:4 , ProductName=”Product 5″ , CategoryId=2;` And we want the records of Product 1,Product 2, Product 3 […]