I want datagrid rows in read only state when edit event is called.I cant disable the datagrid at that time as i need scrollbar also..So please help me
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
I hv tried this but no effect..Plz suggest