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:33:29 +0530,    posted on: microsoft.public.dotnet.framework.windowsforms.controls        back       

Thread Index
  1    Sandeep Singh
          2    VisualHint


How to Show only Year in C# 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:33:29 +0530   Author:  

Re: How to Show only Year in C# using DayTimePicker   
Hi Sandy,

simply set its Format to Custom and its CustomFormat to "yyyy"

Best regards,

Nicolas Cadilhac @ VisualHint (http://www.visualhint.com)
Home of Smart FieldPackEditor.Net / DateTimePicker replacement
Home of Smart PropertyGrid for .Net and MFC
Microsoft PropertyGrid Resource List - http://www.propertygridresourcelist.com



On Aug 22, 5:03 am, "Sandeep Singh"  wrote:

> 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 16:06:47 -0000   Author:  

Google
 
Web dotnetnewsgroup.com


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