Solved

C# - Hiding a row in DataGridView

Posted on 2007-04-10
2
489 Views
Last Modified: 2008-02-01
Hi guys 'n gals,

In a DataGridView, at the very bottom, there is always a blank row for entry of the new record, is it at all possible to disable that row from appearing? If so, what code would I need?


Cheers!
0
Comment
Question by:Cyber-Drugs
2 Comments
 
LVL 16

Accepted Solution

by:
AlexNek earned 500 total points
ID: 18884505
Did you set AllowUserToAddRows property to false?
0
 
LVL 4

Author Comment

by:Cyber-Drugs
ID: 18884595
That seems to be the property I was after, cheers!
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

786 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