[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3611
  • 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

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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