G
Guest
I'm building a relatively simple app to edit flat data from a single table.
I need to use multiple windows - Main form has a datagrid...idea is to click
on a row in the data grid to open a "detail" window with data from the row.
Many detail windows can be opened at the same time (for different rows).
Each detail window has controls (e.g. textboxes) for displaying and editing
the data from the row. Two questions - one general and one specific.
Currently the main datagrid passes a reference to a common dataset and info
on the row that was clicked on. I have a currencymanager in the detail
window to bind all of the controls together. Specific question: Is there a
good way to figure out what position to set the currency manager to when
opening a detail screen. Second general question - Is this the best
approach?
I need to use multiple windows - Main form has a datagrid...idea is to click
on a row in the data grid to open a "detail" window with data from the row.
Many detail windows can be opened at the same time (for different rows).
Each detail window has controls (e.g. textboxes) for displaying and editing
the data from the row. Two questions - one general and one specific.
Currently the main datagrid passes a reference to a common dataset and info
on the row that was clicked on. I have a currencymanager in the detail
window to bind all of the controls together. Specific question: Is there a
good way to figure out what position to set the currency manager to when
opening a detail screen. Second general question - Is this the best
approach?