More on Visual Studio 11 from Scott Guthrie

Posted by TATWORTH on Geeks with Blogs See other posts from Geeks with Blogs or by TATWORTH
Published on Fri, 25 Nov 2011 11:23:51 GMT Indexed on 2011/11/25 17:51 UTC
Read the original article Hit count: 495

Filed under:
At http://weblogs.asp.net/scottgu/archive/2011/10/30/web-forms-model-binding-part-3-updating-and-validation-asp-net-4-5-series.aspx, Scott Guthrie talks about data binding is ASP.NET 4.5.

There is a key statement "Because our GetProducts() method is returning an IQueryable<Product>, users can easily page and sort through the data within our GridView.  Only the 10 rows that are visible on any given page are returned from the database."

Consider paging through a large dataset, this is going to give high performance with very little code as the database to IIS server traffic will be reduced.

© Geeks with Blogs or respective owner