Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 533
  • Last Modified:

vb.net 2008 Hide Datagridview front column.

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
aarontham
Asked:
aarontham
1 Solution
 
oobaylyCommented:
Use the RowHeadersVisible property for the datagridview
dataGridView1.RowHeadersVisible = false

Open in new window

0
 
Sreedhar VengalaSr. Consultant - Business IntelligenceCommented:
          DataClasses1DataContext c = new DataClasses1DataContext();
            List<Customer> list = (from cu in c.Customers select cu).ToList();
            dataGridView1.RowHeadersVisible = false;
            dataGridView1.DataSource = list;
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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