This might be a bit oblique but it's bugging me.
I have an ‘invoice header’ form1 that lists all invoices via a DataGridView.
Each invoice header row has an unbound button that opens another detail form2 showing all the detail lines for the invoice from another table.
Both forms live in the same solution and reference a single dataset ( .xsd ) in the solution.
The header form1 populates the Header table in the dataset.
The detail form2 populates the Detail table in the dataset.
When I am in debug I can see the Header rows and columns in the dataset via the standard Dataset visualizer when I put my mouse over it in form1 code.
When I step into the Detail form2, the Header rows and columns can no longer been viewed in the form1 code.
When form2 Detail ends and returns focus to the form1 Header, the Header rows and columns can be viewed again from form 1 even though they have not been reloaded.
This means that I have two instances of the dataset ( I think ) - one for each form.
In debug how can I view the header form1 dataset instance of header data when I am in the detail form2? Preferably via the dataset visualizer?
Thanks
Dazed and confused.
Remember.. 'Depression is just anger without enthusiasum'.
I have an ‘invoice header’ form1 that lists all invoices via a DataGridView.
Each invoice header row has an unbound button that opens another detail form2 showing all the detail lines for the invoice from another table.
Both forms live in the same solution and reference a single dataset ( .xsd ) in the solution.
The header form1 populates the Header table in the dataset.
The detail form2 populates the Detail table in the dataset.
When I am in debug I can see the Header rows and columns in the dataset via the standard Dataset visualizer when I put my mouse over it in form1 code.
When I step into the Detail form2, the Header rows and columns can no longer been viewed in the form1 code.
When form2 Detail ends and returns focus to the form1 Header, the Header rows and columns can be viewed again from form 1 even though they have not been reloaded.
This means that I have two instances of the dataset ( I think ) - one for each form.
In debug how can I view the header form1 dataset instance of header data when I am in the detail form2? Preferably via the dataset visualizer?
Thanks
Dazed and confused.
Remember.. 'Depression is just anger without enthusiasum'.