Hi I am working on a Hotel Reservation Project in ASP.NET. I want to make a filter so that I can search the room available by date (for example between 1 June and 5 June) and after that reserve that room .How can I do to change status of that room to "not available" for that period,so that somebody who want to reserve that room between 15 may and 30 may can do it.Status of the room is boolean value in my database.
So far i display all room with status available .But the status is set when i introduce the room in database.But I dont know how to change the status and if it is possible to set status of a room as true for a period and then false for another period