Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In form1,user login succesful, then go to form2, in form2 I put a datetimepicker1 to let user select start time, and a combobox1 to select end time, inside combobox1 got option : 1 hours, 2 hours, and 3 hours. If user choose 17/8/2018 10:00a.m. in datetimerpicker1, and choose 1 hours in combobox1, then means user want to book start time 10:00 a.m. and end time 11:00 a.m., then user can click button1(search button), to search for available slot, so my problem is how to do the search button code? it should search from sql

What I have tried:

All Failed, i forgot the code..
All Failed, i forgot the code..
All Failed, i forgot the code..
All Failed, i forgot the code..
Posted
Comments
[no name] 17-Aug-18 2:25am    
If you're doing this on your own, it makes no sense.

If you're "working for someone", they should be telling you how to "connect" (SQL adapter; Entity Framework; whatever).
Member 13936460 17-Aug-18 4:02am    
no, this is my homework

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