ASP.NET RowSpan ÊôÐÔ

¶¨ÒåºÍÓ÷¨

RowSpan ÊôÐÔÓÃÓÚÉèÖûò·µ»Ø Table ¿Ø¼þÖÐ TableCell ºá¿çµÄÐÐÊý¡£

Óï·¨

<asp:TableCell RowSpan="num" runat="server">
Some content
</asp:TableCell>
ÊôÐÔ ÃèÊö
num ¹æ¶¨ TableCell ºá¿çµÄÐÐÊý¡£

ʵÀý

ÏÂÃæµÄÀý×Ó°Ñ RowSpan ÉèÖÃΪ "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>

ʵÀý

Ϊ TableCell ¿Ø¼þÉèÖà RowSpan ÊôÐÔ