ASP.NET TableRow TableSection属性
TableRow 控件
定義と用法
TableSection プロパティは、Table コントロール内の TableRow オブジェクトの位置を設定または取得するために使用されます。
TableSection プロパティを使用して、Table コントロール内で TableRow オブジェクトを配置する位置を取得または設定します。
语法
<asp:TableRow TableSection="section" runat="server">
Some Content
</asp:TableRow>
Some Content
</asp:TableRow>
| 属性 | 描述 |
|---|---|
| section | その行が属するテーブル部分を指定します。 可能な値:
|
实例
以下の例では、TableRow コントロールの TableSection プロパティを設定しています:
<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>
演示实例 »
TableRow 控件 其他扩展