
定义和用法
VisibleDate 属性用于设置或获取要在日历中显示的月份的日期。
实例
下面的实例把 VisibleDate 设置为 01-Oct-07:
<script runat="server"> Sub Page_Load cal1.VisibleDate = DateValue("01-Oct-07") End Sub </script> <form runat="server"> <asp:Calendar id="cal1" runat="server" /> </form>
