GridView::GridLines Property
.NET Framework (current version)
Gets or sets the gridline style for a GridView control.
Assembly: System.Web (in System.Web.dll)
Use the GridLines property to specify the gridline style for a GridView control. The following table lists the available styles.
Style | Description |
|---|---|
GridLines.None | No gridlines are displayed. |
GridLines.Horizontal | Displays the horizontal gridlines only. |
GridLines.Vertical | Displays the vertical gridlines only. |
GridLines.Both | Displays both the horizontal and vertical gridlines. |
.NET Framework
Available since 2.0
Available since 2.0
Show: