Dreamweaver

Specify and format a data source field in a DataGrid

When creating or editing a DataGrid, use the Simple Data Field column (called a bound column in ASP.NET) to specify which data source field to display, and the data format the field uses with a .NET formatting expression.

  1. In the DataGrid dialog box, select the Simple Data Field column in the Columns box.
  2. In the Simple Data Field dialog box, enter a title for the grid’s header or footer rows. (Displaying a header or footer row for a DataGrid is controlled by the DataGrid Property inspector.)
  3. Select a DataSet column with which to populate the DataGrid column from the Data Field pop‑up menu.
  4. Select the Read Only option to specify that the DataGrid does not allow add, update, or delete privileges.
  5. From the Submit As pop‑up menu, select a data type, and click OK.