Solved

vb.net 2008 Hide Datagridview front column.

Posted on 2009-04-07
2
529 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display

726 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