Private Sub DataGridView_CellBeginEdit(ByVal sender As Object, _ ByVal e As System.Windows.Forms.DataGridViewCellCancelEventArgs) _ Handles DataGridView.CellBeginEdit If e.RowIndex <> DataGridView.NewRowIndex _ And e.ColumnIndex = Column.Index Then e.Cancel = True End Sub
No comments:
Post a Comment