
定义和用法
DayNameFormat 属性用于设置日历中一周中各天的名称的格式。
语法
<asp:Calendar DayNameFormat="
format" runat="server"
/>
属性 | 描述 |
---|---|
format | 规定天的名称的显示格式。 可能的值:
|
实例
下面的实例显示了带有完整的天的名称格式的日历:
<form runat="server"> <asp:Calendar id="cal1" runat="server" DayNameFormat="Full" /> </form>
