We are asked to create a visual basic project on a theatre booking system when a seat is selected the seat will appear as booked or taken and when all seats are booked, an error message will appear saying that the seating is full.
To organise the data of the seats my teacher gave a text file which as an example has Seat A1, Seat type Adult or Child, Price $80 and $60 and if the seat is empty text file shows false and if occupied shows true. Occupied seats can't be selected and if all seats are selected, a error message appears saying all seats are full.
I'm not sure how to load the data file for it to be used and the new data saved after the selections have been made and that data validation is set. I've searched the internet and watched tutorials to try and solve the problem on how to do it but all I can find is videos on loading the actual text file and updating it and saving the text file after its updated.
Any help is greatly appreciated.
To organise the data of the seats my teacher gave a text file which as an example has Seat A1, Seat type Adult or Child, Price $80 and $60 and if the seat is empty text file shows false and if occupied shows true. Occupied seats can't be selected and if all seats are selected, a error message appears saying all seats are full.
I'm not sure how to load the data file for it to be used and the new data saved after the selections have been made and that data validation is set. I've searched the internet and watched tutorials to try and solve the problem on how to do it but all I can find is videos on loading the actual text file and updating it and saving the text file after its updated.
Any help is greatly appreciated.