Manage permissions in datagrid

I'm using a datagrid in a windows form and would like it to have the ability to update, delete, read, but not insert.  How do I manage permissions for the datagrid?
Who is Participating?
SanclerConnect With a Mentor Commented:
Look at this

particularly the bit that says

"You can create a grid that enables users to edit data but prevents them from adding new rows by using a DataView as the data source and setting the AddNew property to false."

What that doesn't say is that a DataView also has AllowEdit and AllowDelete properties.

shannonaikenAuthor Commented:
Dataview worked great.  Thanks!!!!!
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.

All Courses

From novice to tech pro — start learning today.