How to include row value editable in datagridview win app?

I am setting datasource programmatically in a datagridview of a windows application.

I set the "Allow Editing" option to true and the readonly property is also set to false.

is there something I am missing?

Thank..

+2


source to share


2 answers


There are four conditions :



  • The main data source supports editing.
  • Control DataGridView

    included.
  • The property value is EditMode

    not EditProgrammatically

    .
  • Properties ReadOnly

    for cell, row, column, and control are set to false

    .
+5


source


if Readonly properties of cell, row, column are set to false, but edit mode is not enabled yet, then check ImeMode properties and set it to "ON".



0


source







All Articles