DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
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:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us