The following post shows how to write different types of joins in LINQ to SQL. I am using the Northwind database and LINQ to SQL for these examples. 1: NorthwindDataContext dataContext = new NorthwindDataContext(); INNER JOIN : 1: var q1 = from c in dataContext.Customers 2: join o in dataContext.Orders on c.CustomerID equals o.CustomerID 3: [...]
Archive for March 15th, 2010
Joins in LINQ to SQL
Posted in .NET, ASP.Net, C#, Dot Net, LINQ, Microsoft Dot.Net, VB.Net on March 15, 2010 | Leave a Comment »
What’s New in ASP.NET 4.0 – Better ViewState Control
Posted in .NET, ASP.Net, ASP.NET 4.0, C#, Dot Net, Microsoft Dot.Net, VB.Net, tagged .Net 4.0, Dot Net on March 15, 2010 | Leave a Comment »
This article is Part II of the multi-part series covering new features on ASP.NET 4.0. In ASP.NET 2.0/3.5, you could disable ViewState for individual controls. However what you could not do is disable ViewState at a Page level and then enable it individually for controls on that page that require it. ASP.NET 4.0 changes that [...]