LinqDataSource vs ObjectDataSource vs SqlDataSource
Posted by: Dino Espositos WebLog,
on 24 Sep 2007 |
View original | Bookmarked: 0 time(s)
With ASP.NET 3.5, a new data source control joins the company: the LinqDataSource control. How does it position itself in the grid of data source controls? The difference between SqlDataSource and ObjectDataSource is fairly clear. The first leads you to add SQL code directly in the markup of ASP.NET pages, which is not certainly a practice to recommend even though the resulting page will still work great. ObjectDataSource is right the opposite. It pushes the use of objects and makes the binding between ...