Am having a seprate  form for one month ,in dat i want to display the selected dates in the label continuously as from march 28th to april 27th..
how to i display it in different page and oly can select 28-27 days from any month..datz i cycle month
 
plz help me 
 
here is the code for selecting 7 days oly,
wanna select a month day within condition and display in label... 
 
 
code:
 
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
cal.SelectedDate = System.DateTime.Now;
}
}
protected void cal_SelectionChanged(object sender, EventArgs e)
{
DateTime now = DateTime.Now;
DateTime check = DateTime.Now.AddDays(7);
now = now.AddDays(2);
lbt1.Text = (now.ToString("dddd"));
now = now.AddDays(1);
lbt2.Text = (now.ToString("dddd"));
now = now.AddDays(1);
lbt3.Text = (now.ToString("dddd"));
now = now.AddDays(1);
lbt4.Text = (now.ToString("dddd"));
now = now.AddDays(1);
lbt5.Text = (now.ToString("dddd"));
now = now.AddDays(1);
lbt6.Text = (now.ToString("dddd"));
now = now.AddDays(1);
lbt7.Text = (now.ToString("dddd"));
lb7.Text = DateTime.Now.ToShortTimeString();
// lbd0.Text = cal.TodaysDate.ToShortDateString();
lbd0.Text = DateTime.Today.AddDays(2).ToShortDateString();
lbd1.Text = DateTime.Today.AddDays(3).ToShortDateString();
lbd2.Text = DateTime.Today.AddDays(4).ToShortDateString();
lbd3.Text = DateTime.Today.AddDays(5).ToShortDateString();
lbd4.Text = DateTime.Today.AddDays(6).ToShortDateString();
lbd5.Text = DateTime.Today.AddDays(7).ToShortDateString();
lbd6.Text = DateTime.Today.AddDays(8).ToShortDateString();
cal.Visible = false;
}

Replies

Know the answer? Post it — somebody with the same question will find it here.

Select Date :  
ImageUrl="D:\Dev\App\Vaayuprj090116\images\Calendar_ICON.png" onclick="img_Click" Width="35px" style="background-color: #66CCFF" />