One of the most common tasks we face as a web developers is displaying data in a grid. In its simplest incarnation, a grid merely
displays information about a set of records - the orders placed by a particular customer, perhaps; however, most grids offer features
like sorting, paging, and filtering to present the data in a more useful and readable manner.
In ASP.NET WebForms the GridView control
offers a quick and easy way to display a set of records in a grid, and offers features like sorting, paging, editing, and deleting
with just a little extra work. On page load, the GridView automatically renders as an HTML
element, freeing you from having to
write any markup and letting you focus instead on retrieving and binding the data to display to the GridView. In an ASP.NET MVC application, however, developers are on the hook for generating the
markup rendered by each view. This task can be a bit daunting for developers new to ASP.NET MVC, especially those who have a
background in WebForms.
This is the first in a series of articles that explore how to display grids in an ASP.NET MVC application. This installment starts
with a walk through of creating the ASP.NET MVC application and data access code used throughout this series. Next, it shows how to
display a set of records in a simple grid. Future installments examine how to create richer grids that include sorting, paging,
see how to display database records in a web page.
Live Event Date: March 19, 2015 @ 1:00 p.m. ET / 10:00 a.m. PT
The 2015 Enterprise Mobile Application Survey asked 250 mobility professionals what their biggest mobile challenges are, how many employees they are equipping with mobile apps, and their methods for driving value with mobility.
Join Dan Woods, Editor and CTO of CITO Research, and Alan Murray, SVP of Products at Apperian, as they break down the results of this survey and discuss how enterprises are using mobile application management and private …
This report outlines the future look of Forrester's solution for security and risk (S&R) executives working on building an identity and access management strategy for the extended enterprise. We designed this report to help you understand and navigate the major business and IT trends affecting identity and access management (IAM) during the next five years. IAM in 2012 has become a tool not just for security but also for business agility. Competitive challenges push businesses into the cloud and encourage …