How can I be allowed to go up to the cell and prohibit going inside the cells in the datagridview. And while this cell should be edited. That is, the cells must be edited outside and not from inside. Thanks !!

    1 answer 1

    Very simple. Set the value of the ReadOnly=true property in the form designer.
    Or in the program itself dataGridView1.ReadOnly = true;
    Then it will still be possible to change the values ​​programmatically, but the user cannot change anything inside the dataGridView.