How to get rid of the Edit Row (lowest row) in a DataGridView

I use a DataGridRow in VB2005. It works great.
I edit programmatically all cells, so I don't need the edit row, the one with the * in the row header.
How do I get rid of this at run time?
Jack.net
LVL 9
jrschererCEOAsked:
Who is Participating?
 
Vaxman2Commented:
I beleive you just set AllowUserToAddRows to False, you might also want to sett AllowUserToDeleteRows to False also
0
 
gangwischCommented:
datagridview1.rows.removeat(datagridview1.rows.count-1)
0
 
jrschererCEOAuthor Commented:
Vaxman2,
This is exactly what I was looking for. Thnx Jack.net
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.