ASP.NET TableCell RowSpanPropiedad
Control TableCell
Definición y uso
La propiedad RowSpan se utiliza para establecer o devolver el número de filas que abarca un TableCell en el control Table.
Sintaxis
<asp:TableCell RowSpan="num" runat="server">
Some content
</asp:TableCell>
Some content
</asp:TableCell>
| Propiedad | Descripción |
|---|---|
| num | Especifica el número de filas que abarca el TableCell. |
Ejemplo
El siguiente ejemplo establece la propiedad RowSpan en "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>
<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>
Ver ejemplo »
Control TableCell Otras extensiones