Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

moving to previous rows failed

$
0
0

In a datagridview containing a certain number of rows, if the cursor in last row i want to prevent the cursor to move to next cell  of the same row from first cell when it is empty.But i want to move to previous rows and cells when the first cell of last row is empty.

Im using e.cancel=true for preventing the cursor to go next cell in same row,but this also preventing every event like moving to previous rows and cells.

Can i do that in any other way. 


Viewing all articles
Browse latest Browse all 12583

Trending Articles