views:

239

answers:

1

Hi,

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..

+2  A: 

Here are the four conditions:

  1. The underlying data source supports editing.
  2. The DataGridView control is enabled.
  3. The EditMode property value is not EditProgrammatically.
  4. The ReadOnly properties of the cell, row, column, and control are all set to false.
Ngu Soon Hui