Hi all,

I have designed a datagrid in VB.net to show,modify,add and delete records from a table. Now I want to validate user's input before the cursor skips to next cell or next row. If validation fails, the cursor should stay where it was. I tried table's columnChanging/RowChanging event. But I couldn't find how to prevent the cursor from jumping to next cell or row. Could anyone help?

thx.