ASP Net Controls ASP.Net Tutorial

<%@ Page Language="C#" %>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    protected void btnSubmit_Click(object sender, EventArgs e)
    {
        bltResults.DataSource = Calendar1.SelectedDates;
        bltResults.DataBind();
    }



    Calendar SelectionMode


    
    

            id="Calendar1"
        SelectionMode="DayWeekMonth"
        runat="server" />
    
            id="btnSubmit"
        Text="Submit"
        OnClick="btnSubmit_Click"
        Runat="server" />
    
            id="bltResults"
        DataTextFormatString="{0:d}"
        Runat="server" />