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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.