Solved

C# - Hiding a row in DataGridView

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.NET HttpWebRequest 12 57
C# TextBox 11 30
SQL Exceptions 3 38
Importing CSV file encoded in UTF-8 in SQL SERVER 2008 using BULK INSERT 5 30
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.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now