The Calendar control is used to display a calendar in the browser. The control allows you to select dates and move to the next or previous month.

You can customize the appearance of the Calendar control by setting the properties that control the style for different parts of the control. The following ASP.NET program display the selected Calender date in short date format in a label control.
vb.net Label1.Text = Calendar1.SelectedDate.ToShortDateString()
C# Label1.Text = Calendar1.SelectedDate.ToShortDateString();
Default.aspx
Untitled Page
Click the following links to see full source code
C# Source Code
VB.NET Source Code
ASP.NET Web Controls - Related Contents
ASP.NET Related Topics