![](https://www.cnblogs.com/Emoticons/QQ/23.gif)
1
private void WebCalendar_PreRender(object sender, System.EventArgs e)
2
{
3
Thread threadCurrent = Thread.CurrentThread;
4
CultureInfo ciNew = (CultureInfo)threadCurrent.CurrentCulture.Clone();
5
if(ciNew.LCID == 2052)
6
{
7
ciNew.DateTimeFormat.DayNames = new string[]{"日","一","二","三","四","五","六"};
8
ciNew.DateTimeFormat.FirstDayOfWeek = DayOfWeek.Sunday;
9
threadCurrent.CurrentCulture = ciNew;
10
}
11
}
![](/Images/OutliningIndicators/None.gif)
2
![](/Images/OutliningIndicators/ExpandedBlockStart.gif)
3
![](/Images/OutliningIndicators/InBlock.gif)
4
![](/Images/OutliningIndicators/InBlock.gif)
5
![](/Images/OutliningIndicators/InBlock.gif)
6
![](/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
7
![](/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
8
![](/Images/OutliningIndicators/InBlock.gif)
9
![](/Images/OutliningIndicators/InBlock.gif)
10
![](/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
11
![](/Images/OutliningIndicators/ExpandedBlockEnd.gif)