views:

10

answers:

1

Hi!

Is there way to set CurrentRow in DataGridView to null when form is first loaded? So BindingSourse event CurrentChanged should not fire.

What I want actually. When form is loaded no rows are selected in DataGridView and BindingSourse.CurrentChanged is fired only when user selects some row.

A: 

CurrentRow is readonly.
I think you should set the CurrentCell to null.

fadi