Internationalization ASP.Net Tutorial

<%@ Page Language="C#" %>
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

    protected override void InitializeCulture()
    {
        Culture = Profile.UserCulture;
        UICulture = Profile.UserUICulture;
    }
    protected void btnSelect_Click(object sender, EventArgs e)
    {
        Profile.UserCulture = ddlCulture.SelectedValue;
        Profile.UserUICulture = ddlCulture.SelectedValue;
        Response.Redirect(Request.Path);
    }
    void Page_PreRender()
    {
        lblDate.Text = DateTime.Now.ToString("D");
        lblPrice.Text = (512.33m).ToString("c");
    }



    Select Culture Profile


    
    

            id="lblCulture"
        Text="Culture:"
        AssociatedControlID="ddlCulture"
        Runat="server" />
            id="ddlCulture"
        DataTextField="DisplayName"
        DataValueField="Name"
        DataSourceID="srcCultures"
        Runat="server" />
            id="btnSelect"
        Text="Select"
        Runat="server" OnClick="btnSelect_Click" />
            id="srcCultures"
        TypeName="System.Globalization.CultureInfo"
        SelectMethod="GetCultures"
        Runat="server">
        
            
        

    
    
    Today's date is:
    
            id="lblDate"
        Runat="server" />
    
    The price of the product is:
    
            id="lblPrice"
        Runat="server" />
    

    


File: Web.Config

  
    
    
      
                  name="UserCulture"
          defaultValue="en-US" />
                  name="UserUICulture"
          defaultValue="en"/>