Propriété TableSectionde TableRow ASP.NET
Contrôle TableRow
Définition et utilisation
La propriété TableSection est utilisée pour définir ou renvoyer la position de l'objet TableRow dans le contrôle Table.
Utilisez la propriété TableSection pour obtenir ou définir la position où l'objet TableRow est placé dans le contrôle Table.
Syntaxe
<asp:TableRow TableSection="section" runat="server">
Un contenu
</asp:TableRow>
Un contenu
</asp:TableRow>
| Propriété | Description |
|---|---|
| section | Spécifie la section de table à laquelle la ligne appartient. Valeurs possibles :
|
Exemple
L'exemple suivant définit la propriété TableSection du contrôle TableRow :
<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>
Essayez-le vous-même »
Contrôle TableRow Autres extensions