Good morning, I have a doubt, I have a datagridviwer, I have cleared the option to change the fields, and I need to do that when the user clicks on the change button I release the grid to change, how can I do this?
This flag only marks the element as ReadOnly
, to undo this at runtime is to change this value.
For example:
private static void btLiberarBloquearGrid_Click(object sender, EventArgs e)
{
dataGridView.ReadOnly = !dataGridView.ReadOnly;
}