F
frostbb
Greetings:
Working on a VS2005 C# program.
I have a DataGridView control that is bound to dataviews generated by
various database queries. i.e. the user enters search criteria and the
query results end up in the grid. The DataViewGrid is Read Only. The user
has the option of selecting a single record from the grid which causes all
of the associated database record values to become available for edit in an
area outside of the DataViewGrid.
Once the user completes the data updates and saves the data back to the
database I >> refresh << the DataGridView to reflect the updates.
I have figured out how to re-select the DataGridView record that was
updated.
How do I ensure that the selected/updated record is visible in the
DataGridView window after the requery ???
i.e. if the window can display 10 rows and the data set is 30 rows long ...
how to I ensure that row #21 appears in the DataGridView window ??
Thanks in advance.
Barry
in Oregon
Working on a VS2005 C# program.
I have a DataGridView control that is bound to dataviews generated by
various database queries. i.e. the user enters search criteria and the
query results end up in the grid. The DataViewGrid is Read Only. The user
has the option of selecting a single record from the grid which causes all
of the associated database record values to become available for edit in an
area outside of the DataViewGrid.
Once the user completes the data updates and saves the data back to the
database I >> refresh << the DataGridView to reflect the updates.
I have figured out how to re-select the DataGridView record that was
updated.
How do I ensure that the selected/updated record is visible in the
DataGridView window after the requery ???
i.e. if the window can display 10 rows and the data set is 30 rows long ...
how to I ensure that row #21 appears in the DataGridView window ??
Thanks in advance.
Barry
in Oregon