ASP.NET BackImageUrl 属性

定义和用法

BackImageUrl 属性用于设置或返回用作表格背景图像的图像的 URL。

语法

<asp:Table BackImageUrl="URL" runat="server">
Some Content
</asp:Table>
属性 描述
URL 要使用的图像的 URL。

示例

下面的例子为表格控件设置了 BackImageUrl:

<form runat="server">
<asp:Table id="tab1" runat="server" BackImageUrl="img.gif">
<asp:TableRow>
<asp:TableCell>
Hej!
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</form>

示例

为表格控件设置 BackImageUrl 属性