Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / May 2007

Tip: Looking for answers? Try searching our database.

using DateTimePicker with null entries

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ross - 31 May 2007 00:23 GMT
Hi

I have a windows form that includes a datetimepicker control.  The form gets
its data from  a ASP Web service.

The database field that supplies the data to the DTP control can have null
entries.

Unfortunately the DTP control either displays the correct date when there is
data in the field but when there is no data (null), it displays todays date.

Is there any way of geting the DTP control to display nothing when there is
no entry?

Hoping somebody can help.

Kind regards

Ross Petersen
Eric Moreau - 31 May 2007 02:11 GMT
see
http://www.emoreau.com/Entries/Articles/2005/01/The-DateTimePicker-control.aspx

Signature

HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc. (http://www.emoreau.com)

> Hi
>
[quoted text clipped - 19 lines]
>
> Ross Petersen
Ross - 31 May 2007 08:06 GMT
Thanks Éric that has solved the problem

Kind regards

Ross Petersen

> see
> http://www.emoreau.com/Entries/Articles/2005/01/The-DateTimePicker-control.aspx
[quoted text clipped - 22 lines]
> >
> > Ross Petersen

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.