Data Cogs Information Technology

posts - 131, comments - 251, trackbacks - 36

General

Search This Site

Powered by Google

Brisbane

Locations of visitors to this page

Information

Archives

Images

Blogs

CV etc.

Links For Me

<%@ Import Namespace="System.Threading" %>
<%@ Import Namespace="System.Globalization" %>

<script language="C#" runat="server">
  void Application_BeginRequest (Object sender, EventArgs e)
  {
      try {
          if (Request.UserLanguages.Length > 0) {
              Thread.CurrentThread.CurrentCulture =
                  CultureInfo.CreateSpecificCulture
                  (Request.UserLanguages[0]);
          }
      }
      catch (ArgumentException) {
          // Do nothing if CreateSpecificCulture fails
      }
  }
</script>

posted on Wednesday, February 16, 2005 9:52 AM

Feedback

No comments posted yet.

Post Comment

Title  
Name  
Url
Comment   
Protected by Clearscreen.SharpHIPEnter the code you see: