假设我有日历,并且我想选择多个日期并在标签中显示。 我使用了以下代码,但它无法正常工作。请指正
lblMultipleDate.Text = Calendar1.SelectedDates[0].ToShortDateString();
Label2.Text = Calendar1.SelectedDates[Calendar1.SelectedDates.Count-1].ToShortDateString();
最佳答案
关于asp.net - 如何在日历中选择多个日期并将其显示在标签中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9782434/