
定义和用法
BackImageUrl 属性用于设置或返回用作 Table 控件背景图像的图像的 URL。
语法
<asp:Table BackImageUrl="
URL" runat="server">
Some Content
</asp:Table>
Some Content
</asp:Table>
属性 | 描述 |
---|---|
URL | 要使用的图像的 URL。 |
实例
下面的实例为 Table 控件设置了 BackImageUrl:
<form runat="server"> <asp:Table id="tab1" runat="server" BackImageUrl="img.gif"> <asp:TableRow> <asp:TableCell> Hello! </asp:TableCell> </asp:TableRow> </asp:Table> </form>
