• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3621
  • Last Modified:

Disable add new row DataGridView

Hi,

While populating a DataGridView I notice there's a * sign @ the last row of the data.
I want the user to edit only what is inside the DataGridView but not adding a new line.
Is that possible?

Thanks for any help in advance.
0
csharp_learner
Asked:
csharp_learner
1 Solution
 
Anurag ThakurTechnical ManagerCommented:
On the control's smart tag, clear the Enable Adding and Enable Deleting check boxes.
0
 
csharp_learnerAuthor Commented:
In Properties: AllowUserToAddRows to False
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now