I hv ComboBox on DataGrid ,How I can give facility to operate DataGrid with KeyBoards.
I hv Called One Separate ComboBox For most of Cells of DataGrid , when I use Tab Key to Navigate with in Grid & when ComboBox encountered , Focus is lost From DataGrid .
Loading
Bechir BejaouiPosted Nov 22, 2008, 5:02 PM
you can use the
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.B)
{
//TO DO put you code here, if the user press B, then this code
//will be executed
}
}