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?
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.