Logo 
Search:

Asp.net Forum

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

Calendar Control: What do I do if my DataReader record is Null?

  Asked By: Fahimah    Date: Jul 27    Category: Asp.net    Views: 871
  

The date field I was going to load into the calendar
control is occasionally null. How do I set the
calendar control if this occurs?

calSingleDate.SelectedDate = ?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Caitlin Brown     Answered On: Jul 27

Check for null  object and set  Selected date  only if NOT null...

 




Tagged: