Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds

calendar controls and date collections

  Asked By: James    Date: Feb 10    Category: Asp.net    Views: 1192

I've been working a lot w/ calendar controls and date collections...
Anyone know of a better way than this to find the minimum date in a
SelectedDatesCollection (or did I overlook an intrinsic property)? I'm
wondering if the collection some kind of stack or queue or if I can rely
on simply grabbing the first date from the collection and expect that it
will always be the lowest date:

SelectedDatesCollection myDates = // some dates... ;
IEnumerator myEnum = myDates.GetEnumerator();
DateTime minDate=(DateTime)myEnum.Current;
while (myEnum.MoveNext())



1 Answer Found

Answer #1    Answered By: Asir Hashmi     Answered On: Feb 10
Didn't find what you were looking for? Find more on calendar controls and date collections Or get search suggestion and latest updates.