Hello
Even in asp.net or Win application you can block dates in a range or with some
condition. but why the DB comes in to pitcure, what is the actual relation of DB
and calender here , you are getting some integer value from DB and you want to
block dates depending on that value.can you please explain your project requirement.
Regards
nmsreddi
Hi
In my DB, I have the Appointment Table with the following columns
APID nvarchar(12)
USID nvarchar(12)
DRID nvarchar(12)
Date datetime
Brief Desc nvarchar(50)
Other Desc nvarchar(500)
Add by char(2)
Status char(1)
My requirement is the patients can fix an appointment to the doctors. If already appoints are fixed by an patients for more than 5 times, I have to block the date in calendar control by default in page load.
In my first form, if I click the Link Button named "Fix an Appointment", it should redirects to an Appointment.aspx page. Once if it redirects to the Appointment page, it should show a calendar with blocking of all previous dates and the date the appointment is fixed for more than 5 times.
In this appointment page, I have
1 Calendar control
Date: TextBox
Brief Desc: TextBox
Other Details: TextBox
Add By: TextBox
Status: TextBox
"Fix Appointment"- Button
Here the patient can enter the date,Brief Desc,etc and click the button to fix an appointment.