Question Hotel Reservaton

dfan23

New member
Joined
Jan 28, 2009
Messages
2
Programming Experience
Beginner
how tell availabilty of rooms

I am having a hotel reservation system
just wanna ask if how can I show that the rooms is occupied or not
by using a label for the rooms
 
VB.NET:
If Hotel.Rooms(RoomID).IsOccupied(CurrentDate) Then FindLabel(RoomID).Text = "rented" Else FindLabel(RoomID).Text = "free"
OTOH ... your question is not really clear and it might help if you explain a bit more what you want to do.
 
Question Hotel Reservation

I am using sir a vb 2008 express edition
sorry because I have not spefied the details

For example sir that I have rooms
and roomsare the labels wit he corresponding name
of room101,room102,
*When the form load,I would like form example change the background of the
label for the user to see that the rooms is ouccupied.
*The availabilty of the rooms depend depend on the stored records of the database Roomlist in the table rooms.

Thanks sir,
dan23​
 
Back
Top