Welcome Guest Search | Active Topics | Sign In | Register

format for selected dates Options
Serious Fraud Office
Posted: Thursday, May 12, 2011 6:36:45 AM
Rank: Newbie
Groups: Member

Joined: 5/12/2011
Posts: 5
What is the correct format and delimiter for SelectedDates? I have tried several combos 2011-05-29, etc. but nothing has worked.

I am storing dates in an SQL db and would like to colour all days where activities have been entered.

All help appreciated.
eo_support
Posted: Thursday, May 12, 2011 7:47:23 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

SelectedDates is a collection objects. It is not a string. So you do not deal with format and delimiter directly. For example, to add a new date into SelectedDates, you do:

Code: C#
DatePicker1.SelectedDates.Add(DateTime.Now);


Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.