Link to home
Start Free TrialLog in
Avatar of aarontham
aarontham

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of oobayly
oobayly
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
          DataClasses1DataContext c = new DataClasses1DataContext();
            List<Customer> list = (from cu in c.Customers select cu).ToList();
            dataGridView1.RowHeadersVisible = false;
            dataGridView1.DataSource = list;