DataGridView ReadOnly rows and columns in VB.NET
The DataGridView control can display rows of data from a data source. You can extend the DataGridView control in a number of ways to build custom behaviors into your applications. The ReadOnly property indicates whether the data displayed by the cell can be edited or not. You can set ReadOnly Property in three levels. You can make entire dataGridView as ReadOnly.
dataGridView1.ReadOnly = true
You can make entire row as ReadOnly
dataGridView1.Rows(index).ReadOnly = true;
You can make entire Column as ReadOnly
dataGridView1.Columns(index).ReadOnly = true;
The following vb.net source code shows how to make a row as Readonly in a DataGridView.