I have bound a grid to a DataSet with one DataTable with the command .Rows.SetDataBinding(MyDataSet, \"MyTable\").
I would expect that the grid interacts with the form's databinding. This means that I should be able to access the currency manager position with:
Me.MyForm.BindingContext(MyDataSet, \"MyTable\").Position
This does not work for me. I suspect it does not work at all, and that the grid keeps it's own currency.
I now made a quick workaround:
in the NodeSelectedChange event handler, I set the position of the currency manager to the grid's .Selected.Index.
Is there a better way?
What I want to achieve, is that when I select a certain row, that the other controls on the form get updated. Normally, this kind of thing is taken care of by the currency manager automatically.