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.
+1
A:
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.
ho1
2010-06-17 07:31:34
Every thing I had done what you told, but also I can't able to edit.
informative
2010-06-17 09:43:52
Did you check Adam's suggestion about columns? Also, what is the `EditMode` set to? And how are you trying to edit the DGV?
ho1
2010-06-17 09:49:32
Yes, I cheked. Everything is correctly given as You and Adam suggested. Now, I am searching for some programmatic edits. Thanks for your suggestion.
informative
2010-06-17 09:56:50
I deleted old DGV and add a new DGV. Now, I can able to edit, delete. Thanks for your solution.
informative
2010-06-18 05:25:27