Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C# (http://www.go4expert.com/forums/c-sharp/)
-   -   Update DataGridView on Form1 after Wizard completes. (http://www.go4expert.com/forums/update-datagridview-form1-wizard-t17526/)

tbreslin 15May2009 00:05

Update DataGridView on Form1 after Wizard completes.
 
I am trying to update a DataGridView control with current data after a wizard finishes updating the database and I am not sure how to approach the problem. If I try to update it when the Finish button is clicked, it says that the DataGridView is not available in the current context. After the wizard finishes and the wizard closes, the form with the DataGridView is visible and active, but the record that was added to the database does not show up on the DataGridView. Where should I update the DataGridView?

nimesh 17May2009 23:50

Re: Update DataGridView on Form1 after Wizard completes.
 
Can you share your current code so that someone can have a look and come up with a proper advise.

Note: Add your code using he code block option in the reply editor.


All times are GMT +5.5. The time now is 04:07.