Export (0) Print
Expand All

Table control

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 designing tools, see Tables.

To add Table control to a page

  • Drag the Table control from the Toolbox task pane 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.10).gif beside the Rows property to open the TableRows Collection 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 To add rows to a Table control procedure above.

  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.10).gif to open the TableCell Collection 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 in the MSDN library.

Community Additions

ADD
Show:
© 2014 Microsoft