让NetAdvantage日历控件的“星期几”变为“几”(转)

using System.Threading;
using System.Globalization;
private void Cal_Load(object sender, System.EventArgs e)
{

string[] dayNames = {"日", "一", "二", "三", "四", "五", "六"};
CultureInfo culture = new CultureInfo("zh-CN");
culture.DateTimeFormat.DayNames = dayNames;
Thread.CurrentThread.CurrentCulture = culture;

}
对应dayNames,DayNameFormat选择Full
posted on 2009-04-15 13:35  rex.ying  阅读(158)  评论(0编辑  收藏  举报