2
如果我設置在Global.asax中用戶的文化信息,使得strCulture是語言環境「EN-US」:訪問CultureInfo設置(區域設置)?
System.Threading.Thread.CurrentThread.CurrentCulture
= new System.Globalization.CultureInfo(strCulture);
System.Threading.Thread.CurrentThread.CurrentUICulture
= new System.Globalization.CultureInfo(strCulture);
那我怎麼進入文化我在其他地方設置的應用程序(登錄後)?
謝謝。
它不清楚你什麼時候設置它,也不知道你是什麼意思的「其他地方」。我認爲有一些原因,它不是'System.Threading.Thread.CurrentThread.CurrentCulture'的明顯答案? –