ASP.NET TableSection Property
Definition and Usage
The TableSection property is used to set or return the position of the TableRow object in the Table control.
Use the TableSection property to get or set the position of the TableRow object in the Table control.
Syntax
<asp:TableRow TableSection="section" runat="server"> Some Content </asp:TableRow>
Property | Description |
---|---|
section |
Specify the table section to which the row belongs. Possible values:
|
Example
The following example sets the TableSection property of the TableRow control:
<form runat="server"> <asp:table id="Table1" runat="server" GridLines="Both"> <asp:TableRow TableSection="TableHeader"> <asp:TableCell>Header</asp:TableCell> </asp:TableRow> </asp:table> </form>
Example
- Specify the TableSection for TableRow Control