Private Sub Button8_Click(ByVal sender As Object, _ ByVal e As System.EventArgs) Handles Button8.Click For Each band As DataGridViewBand In dataGridView.Columns band.ReadOnly = True Next End Sub
DataGridView1.ReadOnly = True
Gridview1.Columns(x).ReadOnly=True
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)