Solved

C# - Hiding a row in DataGridView

Posted on 2007-04-10
2
492 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

828 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