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

Disable add new row DataGridView


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.
1 Solution
Anurag ThakurTechnical ManagerCommented:
On the control's smart tag, clear the Enable Adding and Enable Deleting check boxes.
csharp_learnerAuthor Commented:
In Properties: AllowUserToAddRows to False
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