|
|
|
start date: Wed, 22 Aug 2007 14:31:09 +0530,
posted on: microsoft.public.dotnet.framework
back
| Thread Index |
|
1
Sandeep Singh
|
|
2
Kevin Spencer
|
|
3
ThunderMusic
|
How to show only year using DayTimePicker
Hi Everyone,
How to show only year on UI using VS DayTimePicker in C#.
Looking forward for your response.
Thanks
Sandy
Date:Wed, 22 Aug 2007 14:31:09 +0530
Author:
|
Re: How to show only year using DayTimePicker
Not possible. You will need to create a custom Control to do this.
--
HTH,
Kevin Spencer
Microsoft MVP
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
"Sandeep Singh" wrote in message
news:%23%23nU%23nJ5HHA.1188@TK2MSFTNGP04.phx.gbl...
> Hi Everyone,
>
> How to show only year on UI using VS DayTimePicker in C#.
>
> Looking forward for your response.
>
> Thanks
> Sandy
>
Date:Wed, 22 Aug 2007 07:06:52 -0400
Author:
|
Re: How to show only year using DayTimePicker
Hi,
Why don't you use a NumericUpDown control? since you are only displaying one
number it would be well suitable
Or you could use a custom format for your DateTimePicker and use only yyyy
to display the year, but then, when you expand the calendar, you'd still
have every months in a year...
I hope it helps
ThunderMusic
"Sandeep Singh" wrote in message
news:%23%23nU%23nJ5HHA.1188@TK2MSFTNGP04.phx.gbl...
> Hi Everyone,
>
> How to show only year on UI using VS DayTimePicker in C#.
>
> Looking forward for your response.
>
> Thanks
> Sandy
>
Date:Wed, 22 Aug 2007 08:57:35 -0400
Author:
|
|
|