Solved

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

Posted on 2006-10-28
3
187 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
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to wrap a merged cells of datagridview column in vs2010 (vb.net) 8 34
VB.NET 1 22
write xml in vb.net 2 24
Database Connections Not being returned to Connection Pool 7 26
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

778 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