VB .NET: DataGrid - Remove Default Lefthand Column and DataEntry Row

This question refers to the System.Windows.Forms DataGrid

In the DataGrid that I've produced, it has (what I believe to be) the default lefthand column - same format as the header row that contains the current row marker caret (>) and the data entry row (*) as well as an additonal (blank) row at the bottom.

Is there a way to drop or remove these (LH Column & Bottom Row) from the DataGrid? - mine is for information only and I don't need the users select the row or add a new line of data in.
MarkNethercottAsked:
Who is Participating?
 
dfiala13Connect With a Mentor Commented:
dg.RowHeadersVisible = false 'will turn off the rowheaders
dg.ReadOnly = true 'makes the grid without an add row
0
 
dfiala13Commented:
Can also set these values in the designer.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.