Need help with cinema system

Discussion in 'Microsoft VB .NET' started by Catnip, May 16, 2007.

  1. Catnip

    Catnip Guest

    Hi and thanks in advance I am having trouble with a cinema system I am
    creating in VB.NET. I have a form called frmSales which has three
    datagridviews on it which are linked to a Cinema.mdb database using SQL. The
    first datagridview (Film) displays the FilmNumber(Unique Key) and FullTitle
    of the Film, the second datagridview (Date) displays the days the film is on
    for and the third datagridview (Session) displays SessionNo(Unique Key),
    Time, Cinema and SeatNumbers. I have two buttons on this form called Sales
    and the other called Return.

    What I need help with is the code for the buttons so that when the user has
    selected the three datagridviews and depending on whether Cinema 1 or Cinema
    2 was selected in datagridview Session then when either the Sales or Return
    button is pressed they will be taken to the corresponding Cinema form (In
    this case either frmCinema1 or frmCinema2).

    Any help would be appreciated.

    Cheers,
    Kryt0n1t3
     
    Catnip, May 16, 2007
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page