Solved

vb.net 2008 Hide Datagridview front column.

Posted on 2009-04-07
2
524 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

911 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

16 Experts available now in Live!

Get 1:1 Help Now