?
本文檔使用 php中文網(wǎng)手冊 發(fā)布
RowSpan 屬性用于設(shè)置或返回 Table 控件中 TableCell 橫跨的行數(shù)。
<asp:TableCell RowSpan="num" runat="server">
Some content
</asp:TableCell>
?
屬性 | 描述 |
---|---|
num | 規(guī)定 TableCell 橫跨的行數(shù)。 |
下面的實例把 RowSpan 屬性設(shè)置為 "2":
<form runat="server">
<asp:Table id="tab1" runat="server">
<asp:TableRow>
<asp:TableCell RowSpan="2">
Some Content
</asp:TableCell>
<asp:TableCell>
Some Content
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
Some Content
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</form>