views:

102

answers:

3

Is there a control to enter the time (i.e. 9:00am) in .NET?

A: 

You can use the Date Time Picker control and set the format to time. If this doesn't work for you, please be more specific

bernhardrusch
When you do this and the user clicks the down arrow, the box that opens selects the date. This doesn't seem to be picking time.
+3  A: 

Set ShowUpdown property to true. (and Format to Time of course)

markiz
+1  A: 

What I've seen the standard to be in a lot of forms is to use a DateTimePicker and like most people have said here set the format to Time. However, you will also want to change ShowUpDown to True. This will create the spinner that you are used to in most applications.

Mark