Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi, i have some enquiries regarding buttons and database. What i am trying to so is to create an Appointment picker whereby there are labels and buttons for users to select their ideal start time and end time (that is to be displayed in labels) and Buttons under the Days(monday to sunday). Is it possible to store Monday to Sunday inside the database with values (either "Available" or "Selected") and Display the values ("Available" or "Selected") on buttons?
Posted
Comments
Vani Kulkarni 16-Jul-12 0:28am    
Actually your query is pretty confusing, please be specific. Answer to this question is Is it possible to store Monday to Sunday inside the database with values (either "Available" or "Selected") and Display the values ("Available" or "Selected") on buttons? : Yes
kellycx 16-Jul-12 4:06am    
Is it using the select statement that is similar to retrieve from database and display on the labels?
Sergey Alexandrovich Kryukov 16-Jul-12 19:49pm    
Just think a bit: what a database would do to the buttons? Ever heard of separation of concerns?
--SA
kellycx 17-Jul-12 3:49am    
Sorry, i haven't heard about it before but i did a brief search about it. Is it regarding HTML and CSS files?
Sergey Alexandrovich Kryukov 17-Jul-12 12:02pm    
I would not even need to hear about it (too bad you did not though), it would be enough to use your brain. Take issues separately. What's the problem? A button or a database?
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900