Solved

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

Posted on 2006-10-28
3
192 Views
Last Modified: 2010-04-23
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
0
Comment
Question by:jrscherer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 7

Accepted Solution

by:
Vaxman2 earned 500 total points
ID: 17827922
I beleive you just set AllowUserToAddRows to False, you might also want to sett AllowUserToDeleteRows to False also
0
 
LVL 10

Expert Comment

by:gangwisch
ID: 17829086
datagridview1.rows.removeat(datagridview1.rows.count-1)
0
 
LVL 9

Author Comment

by:jrscherer
ID: 17830981
Vaxman2,
This is exactly what I was looking for. Thnx Jack.net
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question