Calendar control exapmle

Calendar control exapmle

Previous Home Next

 

The Calendar control is used to display a one-month calendar that allows the user to select dates and move to the next and previous months.

   
    

   

 ............Desigining code for calender...........................
....................................................................

            
        
....................................................................
.............cs code for select date..............................
.....................................................................

 protected void Calendar1_SelectionChanged(object sender, EventArgs e)
    {
        Label1.Visible = true;
        Label1.Text = Calendar1.SelectedDate.Date.ToString();

    }
...................................................................
Previous Home Next