ASP.NET BackImageUrlPropriétés
Contrôle Table
Définition et utilisation
La propriété BackImageUrl est utilisée pour définir ou renvoyer l'URL de l'image utilisée comme image d'arrière-plan du contrôle Table.
Syntaxe
<asp:Table BackImageUrl="URL" runat="server">
Un contenu
</asp:Table>
Un contenu
</asp:Table>
| Attribut | Description |
|---|---|
| URL | L'URL de l'image à utiliser. |
Exemple
L'exemple suivant définit BackImageUrl pour le contrôle Table :
<form runat="server">
<asp:Table id="tab1" runat="server" BackImageUrl="img.gif">
<asp:TableRow>
<asp:TableCell>
Bonjour !
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</form>
<asp:Table id="tab1" runat="server" BackImageUrl="img.gif">
<asp:TableRow>
<asp:TableCell>
Bonjour !
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</form>
Exemple de démonstration »
Contrôle Table Autres extensions