System.Web.UI.WebControls.BaseDataList.GridLines Property

Gets or sets a value that specifies whether the border between the cells of a data listing control is displayed.

Syntax

[System.ComponentModel.DefaultValue(System.Web.UI.WebControls.GridLines.Both)]
public virtual GridLines GridLines { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the BaseDataList.GridLines property to specify whether the border between the cells of a data listing control is displayed. This property is set with one of the System.Web.UI.WebControls.GridLines enumeration values. The following table lists the possible values.

None

No cell border is displayed.

Horizontal

Only the upper and lower borders of the cells in a data listing control are displayed.

Vertical

Only the left and right borders of the cells in the data list control are displayed.

Both

All borders of the cells in a data listing control are displayed.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0