Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET Table GridLines Property

ASP.NET GridLines Property


Table control Table control


Definition and Usage

The GridLines property is used to get or set the grid line style of the Table control.

Syntax

Some Content

 

property Description
mode Specifies the grid line style for the table.

Possible values:

  • None
  • Horizontal
  • Vertical
  • Both
  • |

    Example

    The following example sets the GridLines property to "Both":

    asp:TableRow

    asp:TableCell

    Hello!

    asp:TableCell

    Hello!

    Demo Example »


    Table control Table control