ASP.NET Calendar FirstDayOfWeek property
Definition and Usage
FirstDayOfWeek attribute is used to specify the calendar day is the first day of the week.
grammar
<asp:Calendar FirstDayOfWeek="day" runat="server" />
属性 | 描述 |
---|---|
day | 规定日历中周的第一天。 可能的值:
|
Examples
The following example shows Wednesday is set to the first day of the calendar week:
<form runat="server">
<asp:Calendar id="cal1" runat="server" FirstDayOfWeek="Wednesday" />
</form>
<asp:Calendar id="cal1" runat="server" FirstDayOfWeek="Wednesday" />
</form>
The demonstration >>
Calendar Control