|
-
Jan 11th, 2010, 06:52 PM
#1
Thread Starter
Frenzied Member
[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?
-
Jan 11th, 2010, 07:18 PM
#2
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.
-
Jan 12th, 2010, 02:59 AM
#3
Thread Starter
Frenzied Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|