Latest web development tutorials

ASP.NET Table BackImageUrl 屬性

Table 控件 Table控件

定義和用法

BackImageUrl 屬性用於設置或返回用作Table 控件背景圖像的圖像的URL。

語法

<asp:Table BackImageUrl="URL" runat="server">
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>

演示實例»

Table 控件 Table控件