I have an application that works well, with two DataGridViews connected with
the necessary BindingSources, DataTables etc to have one DataGridView act as
the parent and the other as the child in the standard way.
Whenever the parent record changes, the data displayed in the child
DataGridView changes appropriately. However the first record in the child
DataGridView is always highlighted as the 'current record' and I would like
to have the last record so highlighted (there are other text boxes that hang
off the child DataGridView/BindingSource) so that the 'latest' information
is displayed. (For various reasons, I can't just display the child records
in reverse order - that would be too easy!!!! - Sigh!)
I've tried looking for appropriate events on the DataGridView and the
BindingSources, but I can't find anything that reliably lets me set the
child view to display the last record.
Is there a way to highlight the last row (or even just one of the cells in
the row) in the child display whenever the record in the parent display is
changed?
Thanks
Susan