ASP.NET TableRow TableSection property
Definition and Usage
TableSection property sets or returns the position of a Table control TableRow object.
Use TableSection property to get or set the placement TableRow object in a Table control.
grammar
<asp:TableRow TableSection="section" runat="server">
Some Content
</asp:TableRow>
Some Content
</asp:TableRow>
属性 | 描述 |
---|---|
section | 规定该行所属的表格部分。 可能的值:
|
Examples
The following examples set TableSection property 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>
<asp:table id="Table1" runat="server" GridLines="Both">
<asp:TableRow TableSection="TableHeader">
<asp:TableCell>Header</asp:TableCell>
</asp:TableRow>
</asp:table>
</form>
The demonstration >>
TableRow control