黄色电影一区二区,韩国少妇自慰A片免费看,精品人妻少妇一级毛片免费蜜桃AV按摩师 ,超碰 香蕉

ASP.NET Calendar SelectedDates 屬性

ASP.NET Calendar SelectedDates 屬性

Calendar 控件 Calendar 控件

定義和用法

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

實(shí)例

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

<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>

演示實(shí)例 ?
Calendar 控件 Calendar 控件
相關(guān)文章