Posted on: 5/19/2011 2:37:01 AM | Views : 257

Hi, I have an event:
protected void Calendar1_DayRender(object sender, DayRenderEventArgs e) { if (e.Day.Date.DayOfWeek == DayOfWeek.Monday) { } if (e.Day.Date.DayOfWeek == DayOfWeek.Tuesday) { } }
I included only two days but I need to do that for all five working days. 
The idea is that when user chooses date from the calendar I need to create a variable or a string, which I could pass to:
protected void Button1_Click(object sender, EventArgs e) { }
and in the button click event I would create conditions to display data from gridview based on information what day it is.
The problem is that I don't know if I should use string or variable and how to pass it to button click event where will be all the conditions.
 
 
 < ...

Go to the complete details ...