Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom Time Control

Status
Not open for further replies.

wsmall73

Programmer
May 23, 2002
261
US
I am told that there isn't a time control available and I am trying to write a custom control to gain this component.
(ROOKIE HERE)-

I am using 3 drop down list boxes... one for hour, one for minute and one for AM or PM. It appears and works corretly. Now I would like to return the entire thing as a date, can anyone point me in the right direction for updating my variables for iHour, iMinute, strAMPM and eventually passing back my datetime.
I am assuming that I want to write code for the SelectedIndexChanged method for each of these dropdowns but am having little luck. Any assistance would be greatly appreciated thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top