Prevent row change Datagridview

  • Thread starter Thread starter Dinis Correia
  • Start date Start date
D

Dinis Correia

Hi all,
How do I prevent row change in a Datagridview? Is there something like a
BeforeCurrentRowChanged with an eventarg that could prevent from changing
current row?

I'm using datagridview bind with a datatable.

(I think old ADO had an event that could achieve this!)

TIA,
DC
 
Hi all,
How do I prevent row change in a Datagridview?

Make it read only.
Is there something like a
BeforeCurrentRowChanged with an eventarg that could prevent from changing
current row?
Define "Changing the current row" - do you mean edit the row, or alter
which row is current?
 
Back
Top