示例#1
0
        protected void Application_AcquireRequestState(object sender, EventArgs e)
        {
            if (System.Web.HttpContext.Current.Session["Cultura"] == null)
            {
                System.Web.HttpContext.Current.Session["Cultura"] = EngineData.Cultura(1);
            }

            CultureInfo ci = new CultureInfo(EngineData.GetCultura());

            Thread.CurrentThread.CurrentUICulture = ci;
            Thread.CurrentThread.CurrentCulture   = ci;
        }