输出日历格式
输出日历格式:
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Calendar1_SelectionChanged(object sender, EventArgs e)
{
Response.Write(string.Format("您算选中的日期是{0}",
Calendar1.SelectedDates[0].ToString("yyyy-MM-dd")));
}
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Calendar1_SelectionChanged(object sender, EventArgs e)
{
Response.Write(string.Format("您算选中的日期是{0}",
Calendar1.SelectedDates[0].ToString("yyyy-MM-dd")));
}