Monday, August 9, 2010

Simple LINQ Join Query ASP .NET C#

// Query.

var Found = from o in Orders
join c in Customers on o.CustomerID equals c.CustomerID
select new { c.Name, o.OrderID, o.Cost };

No comments:

Post a Comment