79527684

Date: 2025-03-22 15:56:50
Score: 0.5
Natty:
Report link

Sadly Microsoft made this unfortunate decision to overwrite cell's ReadOnly property when DataGridView.ReadOnly property is set.

As a workaround you may try to change DataGridView.EditMode property to EditProgrammatically, effectively restricting editing data by user through the UI.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: AlexVB