By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,688 Members | 1,900 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,688 IT Pros & Developers. It's quick & easy.

DateTimePicker custom format

100+
P: 347
Is there anyway to custom format the DateTimePicker so that users can only select weekdays?

Thank you,

Doug
Jun 29 '10 #1

✓ answered by ThatThatGuy

@dougancil
Then i guess you need to write your own custom control...

Share this Question
Share on Google+
4 Replies


ThatThatGuy
Expert 100+
P: 449
@dougancil
Then i guess you need to write your own custom control...
Jun 30 '10 #2

100+
P: 347
ThatThatGuy,

What I was asking is what would be the format or if anyone has done that? I have read the MSBOL and it doesn't give a lot of info about how to select specific dates other than how to do days or weeks or months at a time. I was asking if anyone had done this so I don't have to reinvent the wheel if someone had the code handy.

Thanks

Doug
Jun 30 '10 #3

P: 6
Label2.Text = Format(DateTimePicker1.Value, "dddd") ==in this code it shows the current day..it is it?
Jul 1 '10 #4

P: 6
sorry,,i misquoted your requirement..
Jul 1 '10 #5

Post your reply

Sign in to post your reply or Sign up for a free account.