|
-
Apr 23rd, 2008, 02:33 AM
#1
Thread Starter
PowerPoster
[RESOLVED] [2005] DateTimePicker
Hi! I am using a DTPicker to enter birthdate. I can already save the values to my table (SQL). Whenever I search a record only the DTPicker does not show the correct date (birthdate), instead it is displaying the current date.
I used customFormat and showupdown properties of the DTPicker
-
Apr 23rd, 2008, 02:43 AM
#2
Re: [2005] DateTimePicker
Hi Simply Me,
Isn't it setting the DTPickers .Date method to the date returned from the DB?
-
Apr 23rd, 2008, 02:46 AM
#3
Re: [2005] DateTimePicker
From a UI point of view; wouldn't it be better to have a TextBox displaying the selected date or returned data, and have the user use the DP to make a date selection.
-
Apr 23rd, 2008, 02:57 AM
#4
Re: [2005] DateTimePicker
Show us your code. We shouldn't have to ask.
-
Apr 23rd, 2008, 03:25 AM
#5
Thread Starter
PowerPoster
Re: [2005] DateTimePicker
Got it already. I'm using databindings and I was using textbox before and when i use dtpicker i forgot to remove the ".tostring"
Thanks for your quick replies!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|