1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Update DataGridView on Form1 after Wizard completes.

Discussion in 'C#' started by tbreslin, May 14, 2009.

  1. tbreslin

    tbreslin New Member

    Joined:
    Jul 25, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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?
     
  2. nimesh

    nimesh New Member

    Joined:
    Apr 13, 2009
    Messages:
    770
    Likes Received:
    20
    Trophy Points:
    0
    Occupation:
    Oracle Apps Admin
    Location:
    Mumbai
    Home Page:
    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.
     

Share This Page