System.Web.UI.WebControls Namespace Table Class
Sets or retrieves the URL of an image to display in the background of a Table control.
Inline |
<asp:table backimageurl = strUrl ... > |
Script |
Table.BackImageUrl = strUrl |
strUrl |
String specifying the URL of an image to display in the background of a Table control. |
The property is read/write with no default value.
Use the BackImageUrl property to specify an image to display in the background of a Table control.
NOTE: If the specified image is smaller than the Table control, the image will tile to fill in the background of the control.
The following example demonstrates how to set the BackImageUrl property at design time to specify a background image for a Table control.
<asp:table id = "myTable" runat = "server"
...
backimageurl = "~/shared/back.gif"
forecolor = "beige" font-bold />
Show me
Table Members