hi,
Please im developing an application reserves rooms for clients
it is in a way that you cannot insert another clients details if another client has chosen the room for a particular date.
i have binded a comobox with a database that contains information about the various rooms.
MY PROBLEM
on clicking on the combobox that contains the room names and the date a client wants, if it is already booked for in a database, it should bring a message box that the room isnot available.else, if no client has chosen the room for the same date, we can go ahead and book the room for the new client.
how do i use the combobox to retrieve information from the database?