[我的ASP.net学习历程]服务器环境检测

类别:Asp 点击:0 评论:0 推荐:

<%@ Page Language="C#" Debug="true" Trace="true" %>
<script runat="server">

    void Page_Init()
    {
        Trace.Write("NOTE - First line of Page_Init");
    }
   
    void Page_Load()
    {
        Trace.Write("NOTE - First line of Page_Load");
    }

</script>
<html>
<head>
    <title>Chapter 6 - Demonstration of Page Events</title>
</head>
<body>
    <form runat="server">
        <asp:Button id="Button1" runat="server" Text="Submit"></asp:Button>
        <br />
    </form>
</body>
</html>

本文地址:http://com.8s8s.com/it/it8590.htm