KeyDown Event On DatagridView

Aug 13 2009 4:05 PM

hello all of my frnds
i'm beginer in c#.net
 how can i catch the enter key while keydown on gridview..
my aim is...
suppos..
if Dataviewgird with 5 columns
when i press enter key from any column i want to focus next cell in same row,
if the current column is 3 then i want to move next row first column...
i allready did code for this..but the problem is..when anything enter on the cell
the keydown event not work..
if the cell is blan key down event work...other wise not work
what is the problem..
how can i use datagridview in my application...
i hoping u can help me for this issue..
with tanx.....
 
 
 
 
 
 

Answers (4)