Page Lifecycle ASP.Net Tutorial

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

    void Page_Load()
    {
        lblDate.Text = DateTime.Now.ToString("D");
        lblPrice.Text = (512.33m).ToString("c");
    }



    Bagus


    
    

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