精品熟女碰碰人人a久久,多姿,欧美欧美a v日韩中文字幕,日本福利片秋霞国产午夜,欧美成人禁片在线观看

ASP.NET Calendar SelectedDates 屬性

ASP.NET Calendar SelectedDates 屬性

Calendar 控件 Calendar 控件

定義和用法

SelectedDates 屬性用于設置或返回日歷中被選的日期。

實例

下面的實例在某日期被選擇時輸出被選日期:

<script language="VB" runat="server">
Sub Change(obj As Object, e As EventArgs)
??Dim i As Integer
??For i = 0 To Cal1.SelectedDates.Count - 1
????Response.Write(Cal1.SelectedDates(i).ToShortDateString())
????Response.Write("<br />")
??Next i
End Sub
</script>

<form runat="server">
<asp:Calendar id="cal1" runat="server"
SelectionMode="DayWeekMonth"
OnSelectionChanged="Change" />
</form>

演示實例 ?
Calendar 控件 Calendar 控件
相關文章