Reputation: 63
I am working in .NET 2.0 with C# and database is SQL SERVER 2005. I am using DataGridView. I had enabled "Enable Editing" Checkbox. Eventhough, I am not able to edit any cell.Please, give me a solution.
Upvotes: 1
Views: 2600
Reputation: 64467
Also, individual columns can have a readonly flag, check that too.
Upvotes: 1
Reputation: 54999
Look at the properties of the DataGridView and make sure that the EditMode
is set to the correct value (According to what you need), that ReadOnly
is false, that Enabled
is true.
Upvotes: 1