jeudi 7 avril 2016

How to give condition in keydown DataGridView C#

I want to make a condition in such way `

private void dataGridView1_KeyDown(object sender, KeyEventArgs e) { }

if cursor select the first column it will execute insert, and if cursor select the third column it will execute edit can you tell me how to do it?

I just a beginner, so please help me Thanks in advance

Aucun commentaire:

Enregistrer un commentaire