[RESOLVED] Prevent user addition of new rows to a DataGridView
Hey guys!
Basically I've got a data grid view that is programatically populated. The first column is text, the second is a dropdown menu item, the third is another text field.
I want to allow the users to select and change the dropdown item but not add new rows to the control.
Is there any way that this can be done?
Re: Prevent user addition of new rows to a DataGridView
This is an example of why you should ALWAYS read the documentation first. The answer to such questions is often obvious when you do. The name of the AllowUserToAddRows property is rather self-explanatory, but if you don't read the documentation then you won't know what members the class has.
Re: Prevent user addition of new rows to a DataGridView
I did read over them, but I guess I missed that one, oops. Thanks for pointing it out :)