Export (0) Print
Expand All

DataGrid.BackImageUrl Property

Gets or sets the URL of an image to display in the background of the DataGrid control.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

abstract BackImageUrl : string with get, set 
override BackImageUrl : string with get, set

Property Value

Type: System.String
The URL of an image to display in the background of the DataGrid control. The default value is String.Empty.

Use the BackImageUrl property to specify an image to display in the background of the DataGrid control.

NoteNote

If the specified image is smaller than the DataGrid control, the image will tile to fill in the background of the control.

The following code example demonstrates how use the BackImageUrl property to specify a background image for the DataGrid control.

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft