开发者

How to edit a cell in DataGridView?

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. Eve开发者_开发知识库nthough, I am not able to edit any cell.Please, give me a solution.


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.


Also, individual columns can have a readonly flag, check that too.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜