Prevent row change Datagridview

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
 
L

Larry Smith

C

cjard

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top