我想在日历控制上突出显示今天的日期,我是这样写的
<asp:Calendar ID="EndDate" runat="server"
OnSelectionChanged="EndDate_OnSelectionChanged" BorderColor="#3366CC"
Height="186px" Width="220px" BackColor="White" BorderWidth="1px"
CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana"
Font-Size="8pt" ForeColor="#003399">
<SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
<SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
<WeekendDayStyle BackColor="#CCCCFF" />
<TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
<OtherMonthDayStyle ForeColor="#999999" />
<NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
<DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
<TitleStyle BackColor="#5D7B9D" ForeColor="White">
</TitleStyle>
</asp:Calendar>
并在页面加载 EndDate.TodaysDate = DateTime.Now; 它在本地主机上正常工作。但是在远程运行时,会突出显示昨天的日期。会有什么问题?