Ajit N

Ajit N

  • 1.3k
  • 352
  • 68.2k

how to mark as read only the last row of DataGridView ?

Feb 23 2019 6:46 AM
i'm displaying the values in last row of datagridview. but when i click on last row, the values are disappear. i jast want it stable after clicking on it (i.e. on last row).
For stable i use this below code but it's not working
  1. dataGridView1.Rows[dataGridView1.Rows.Count - 1].ReadOnly = true;  
so suggest me how can i solve it ? 

Answers (2)