(Code samples are all arbitrarily in VB. .... How to disable the ability to select in a DataGridView?
stackoverflow.com