Adding an ASP.NET DataGrid to a page

Adding an ASP.NET DataGrid to a page

DataGrid controls let you format and display dynamic data in multi-column grids that are rendered as tables. For more information on DataGrids, and the types of formatting control they provide, see About the ASP.NET DataGrid and DataList controls.

To add a DataGrid object to a page:

  1. Open the Server Behaviors panel (Window > Server Behaviors), click the Plus (+) button and select DataGrid.

    The DataGrid dialog box appears.

    This is a picture of the feature being described.

  2. Complete the DataGrid dialog box and click OK.

    For instructions on completing the DataGrid dialog box, see Setting the ASP.NET DataGrid Object dialog box options.

In the Document window, the DataGrid is displayed with a tabbed, gray outline surrounding it. In the Live Data window (View > Live Data), the gray outline disappears and the object’s placeholder is replaced with the specified DataGrid.

Related topics

  • About the ASP.NET DataGrid and DataList controls
  • Adding an ASP.NET DataList to your page
  • Modifying a DataGrid or DataList object


Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly
Building ColdFusion Applications Rapidly
Building ASP.NET Applications Rapidly
Reference
Building ASP and JSP Applications Rapidly