Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to make  gridlines invisible in datagridview

Posted on 2009-07-07
2
Medium Priority
?
478 Views
Last Modified: 2013-11-07
Hi,
Any suggestions on how to make  gridlines invisible in datagridview
+vb.net 2.0
Cheers
0
Comment
Question by:RIAS
  • 2
2 Comments
 
LVL 15

Accepted Solution

by:
JackOfPH earned 2000 total points
ID: 24792600
Set the  CellborderStyle property of the grid to None
0
 
LVL 15

Assisted Solution

by:JackOfPH
JackOfPH earned 2000 total points
ID: 24792605
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 Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
When you discover the power of the R programming language, you are going to wonder how you ever lived without it! Learn why the language merits a place in your programming arsenal.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question