How to enable row value editable in datagridview of win app?
I set the data source programmatically to datagridview of the windows application.
I set the "Enable editing" to true & readonly property is also set to false.
so is there any thing I'm missing?
Thanks开发者_运维百科..
Here are the four conditions:
- The underlying data source supports editing.
- The
DataGridView
control is enabled. - The
EditMode
property value is notEditProgrammatically
. - The
ReadOnly
properties of the cell, row, column, and control are all set tofalse
.
if the Readonly properties of the cell, row , column are all set to false but the editting mode is not enable yet, then check the ImeMode properties and set it to "ON".
精彩评论