Gets or sets the grid line style for the System.Web.UI.WebControls.DataList control when the DataList.RepeatLayout property is set to RepeatLayout.Table.
a System.Web.UI.WebControls.GridLines
Use the DataList.GridLines property to specify the grid line style for the System.Web.UI.WebControls.DataList control. The following table lists the possible styles.
GridLines.None |
No grid lines. |
GridLines.Horizontal |
Displays the horizontal grid lines. |
GridLines.Vertical |
Displays the vertical grid line. |
GridLines.Both |
Displays both the horizontal and vertical grid lines. |
This property only applies if the DataList.RepeatLayout property is set to RepeatLayout.Table.