Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove selector column from DataGridView

Status
Not open for further replies.

gharabed

Programmer
Sep 7, 2001
251
US
Is there a way to remove the "selector" column (or whatever it's called) from a DataGridView? The "selector" column being the first column in a DataGridView that shows which row you are editing, etc. The column will have a triangle for the currently selected row, or a pencil icon if you are editing the row, or an asterisk. I'd like to just remove this column. Is there a way to do this?
 
I think you want:

YourDataGridView.RowHeadersVisible = False

=======================================
People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world. (Calvin from Calvin And Hobbs)

Robert L. Johnson III
CCNA, CCDA, MCSA, CNA, Net+, A+, CHDP
VB.NET Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top