ASP.NET Web Forms FAQ: Bagaimana mengubah culture setting untuk Kalendar? RRS feed

  • Diskusi Umum

  • Dalam calendar.aspx.cs:


    private void Page_Load(object sender, System.EventArgs e) 

        System.Globalization.CultureInfo culture = System.Globalization.CultureInfo.CreateSpecificCulture("ens"); 

        System.Threading.Thread.CurrentThread.CurrentCulture = culture;  

        System.Threading.Thread.CurrentThread.CurrentUICulture = culture; 



    Thread terkait:

    Agnes Sannie [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Selasa, 30 Agustus 2011 14.56