How to Add Calendar Control to Label
- 1). Double-click your Visual Studio project on your computer. This opens your Visual Studio software and loads the project on your workspace.
- 2). Drag and drop the calendar control from the Visual Studio toolbox on the left side of your window to the Web form. Visual Studio automatically draws a calendar and a label on your Web form.
- 3). Right-click the form and select "HTML View." A window opens that shows the HTML tags and code for the calendar form.
- 4). Change the "Calendar1" identification name in the tag named "<asp:Calendar>" tag. This names your calendar control for the label that displays the selected date.
Source...