Update DataGridView on Form1 after Wizard completes.

tbreslin's Avatar, Join Date: Jul 2008
Newbie Member
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's Avatar, Join Date: Apr 2009
Invasive contributor
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.