• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 481
  • Last Modified:

How to make gridlines invisible in datagridview

Hi,
Any suggestions on how to make  gridlines invisible in datagridview
+vb.net 2.0
Cheers
0
RIAS
Asked:
RIAS
  • 2
2 Solutions
 
JackOfPHCommented:
Set the  CellborderStyle property of the grid to None
0
 
JackOfPHCommented:
Here is how you set it programmatically...
 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.DataGridView1.CellBorderStyle = DataGridViewCellBorderStyle.None
    End Sub

Open in new window

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now