Author: swiezy | Posted on: 12/7/2008 7:05:11 AM | Views : 370

 Hi,
I'd like to apply different background of each day in the Calendar control.
 
 I wrote some code, it works for SelectedDayStyle so only if I click on a day its background is of desired color. I want to each day of calendar have its own color on load.
 
 
my code:
 
 protected void Page_Load(object sender, EventArgs e)
    {
       
        DateTime teraz = System.DateTime.Today;
        ReservationsDataSetTableAdapters.ReservationsTableAdapter rezerwacje = new ReservationsDataSetTableAdapters.ReservationsTableAdapter();
        ReservationsDataSet.ReservationsDataTable tabelka = new ReservationsDataSet.ReservationsDataTable();
        float proporcja;

  &n ...

Go to the complete details ...