Solved

vb.net 2008 Hide Datagridview front column.

Posted on 2009-04-07
2
523 Views
Last Modified: 2013-11-26
is there a way to hide the Datagridview first column. Pls find pic i mean the red round. not the userid column.
DataGridView.JPG
0
Comment
Question by:aarontham
2 Comments
 
LVL 15

Accepted Solution

by:
oobayly earned 500 total points
ID: 24085511
Use the RowHeadersVisible property for the datagridview
dataGridView1.RowHeadersVisible = false

Open in new window

0
 
LVL 9

Expert Comment

by:Sreedhar Vengala
ID: 24085638
          DataClasses1DataContext c = new DataClasses1DataContext();
            List<Customer> list = (from cu in c.Customers select cu).ToList();
            dataGridView1.RowHeadersVisible = false;
            dataGridView1.DataSource = list;
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

706 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now