Table

The Table control allows you to create server-programmable tables on ASP.NET pages. If you are creating a static table (one in which you will not add or change content at run time), you should use an HTML table and not a Table control. For information about using Microsoft Expression Web's HTML table tools, see Working with tables.

To add Table control to a page

  • Drag the Table control from the Toolbox panel to your page.

After you have added a Table control to the page, you can add rows to the row collection. After you have added a row, you can add cells to the row.

To add rows to a Table control

  1. In Design view, right-click the Table control and click Properties on the shortcut menu.

  2. Click the ellipsis button Cc295397.0b8d1f68-5b69-4cd1-b928-5f7bc2a6c4dc(en-us,Expression.40).gif beside the Rows property to open the TableRowsCollection Editor**** dialog box.

  3. Click the Add button to add a row to the table.

  4. In the TableRow properties area, set the properties for your table row.

To add cells to a row in a Table control

  1. Follow the steps in the preceding procedure, "To add rows to a Table control procedure."

  2. In the Members area, click to select the row to which you want to add cells.

  3. In the TableRows properties area, select the Cells property and click the ellipsis button Cc295397.0b8d1f68-5b69-4cd1-b928-5f7bc2a6c4dc(en-us,Expression.40).gif to open the TableCellCollection Editor**** dialog box.

  4. Click the Add button to add a cell to the row.

  5. In the TableCell properties area, set the properties for your cell.

For a full description of all Table control properties, see Table Properties Cc295397.xtlink_newWindow(en-us,Expression.40).png in the MSDN library.

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.