Sunday, November 23, 2008

How to display date in textbox from the Calendar control

protected void Calendar1_SelectionChanged(object sender, EventArgs e)
{
TextBox1.Text = Calendar1.SelectedDate.ToShortDateString();
}

No comments: