There's quite a bit that you need to change. Unfortunately, I don't have the time to dig into this real deep right now, so I can only give you some pointers.
Fortunately, a lot of functionality is encapsulated in the HourPicker.ascx control, so you should start by changing that control. In the For i As Integer = StartTime To EndTime loop, you'll need to add two items: one for the full hour, and one for the half hour.
However, you should realize that previously, the full hour is the value for the drop down which is returned in SelectedHour. However, now with half hours you can no longer return an Integer. Instead, you could return something like a TimeSpan (starting from 0:00 to the "selected time", a DateTime (with the select hour as the hour) or even a string. Alternatively, you can expose the SelectedHour and SelectedMinutes as separate properties.
From there, you'll need to change the other pages that consume the control. For example, CreateAppointment.aspx.vb
uses hpTime.SelectedHour to get the selected hour from the Timepicker. By now, this has changed to a DateTime, a TimeSpan or a String or to separate properties, so you'll need to make changes accordingly.
A good thing is that the actual appointment uses a DateTime. So, to add a starting time of 7:30, you can do something like this:
myAppointment.StartDate = _
And things would continue to work.
You'd derive the 7 and the 30 from the HourPicker's SelectedTime property.
Finally, you'll need to change some of the stored procedures as they're using hours to do the calculation.
Hope this helps a little,
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results
and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post