D
den 2005
Hi everybody,
I am creating a Calendar that changes its WeekDays Text and Month Text
display toggle between english and simplified chinese. I found some codes in
MSDN, is there anyone who can help me with this? Thanks.
Error Message:
"Culture 'zh-CHS' is a neutral culture. It cannot be used in formatting and
parsing and therefore cannot be set as the thread's current culture.
I am creating a Calendar that changes its WeekDays Text and Month Text
display toggle between english and simplified chinese. I found some codes in
MSDN, is there anyone who can help me with this? Thanks.
Error Message:
"Culture 'zh-CHS' is a neutral culture. It cannot be used in formatting and
parsing and therefore cannot be set as the thread's current culture.
Code:
// Set the current culture to "zh-CHS"
CultureInfo sc = new CultureInfo("zs-CHS");
Thread.CurrentThread.CurrentCulture = sc; <<-- Error occur here
// Use the Hebrew calendar for date-and-time formatting
sc.DateTimeFormat.Calendar = new TaiwanCalendar();//Chinese Characters
suppose to be displayed