Configuring the GridView Control

Now that you’ve learned how to configure and insert an SqlDataSource control, you use the GridView control to format and present the data derived from the data source’s SELECT statement. The following exercise includes

• Attaching a GridView control to the existing SqlDataSource control (created in the earlier exercise) and modifying the GridView’s columns.

• Creating a second page and additional SqlDataSource control, which defines a query string parameter to take the input passed from the first SqlDataSource/GridView combination.

To configure the GridView control and format additional features, use the following steps:

Note

The following exercise depends on the existence of the categories.aspx page created ...

Get Microsoft® SharePoint® Designer 2010 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.