BindingSource.Current

0
0

I am using a binding source with a datagridview and when double clicking on a row in the datagridview, the bindingsource.current does not seem to be updated? I have found a work around, but would rather use the binding source:

Workaround:

Dim record = DirectCast(dgv.SelectedRows.First.DataBoundItem, Scenario)

 

Original:

Dim record = Direcast(bs.current, Scenario)

 

Thanks Kirk

  • You must to post comments
0
0

I tried with MouseDoubleClick and CellDoubleClick but cannot reproduce. Please attach a small test case.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.