Internationalization ASP.Net Tutorial

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

    void Page_Load()
    {
        CultureInfo gCulture = new CultureInfo("de-DE");
        lblGermanDate.Text = DateTime.Now.ToString("D", gCulture);
        lblGermanPrice.Text = (512.33m).ToString("c", gCulture);
        CultureInfo iCulture = new CultureInfo("id-ID");
        lblIndonesianDate.Text = DateTime.Now.ToString("D", iCulture);
        lblIndonesianPrice.Text = (512.33m).ToString("c", iCulture);
    }



    ToString Culture


    
    

    

German


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

Indonesian


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