Home > Net >  Winform seat selection module design
Winform seat selection module design

Time:09-30

Ask next leaders, we need to do a cinema ticketing system, but the seat selection module I'm not ready to do, how to put the seat information in database, and then produce different seat information according to different occasions, seats are sold, button turns red background, unsold seats background color is gray, how to judge? Using SQL server database

CodePudding user response:

Equivalent to a number of buttons in a row, and then the button button lable to save to the database, the database query condition, if the status is 1, it shows red, not zero, is gray

CodePudding user response:

In general, is dynamically generated button.
Storage database, literally in the hall and as a couple you can store more or the json,
Mainly in the dynamically generated button, according to the seat, you said to display a red or booking,
  • Related