Page Trace (C#) : Trace « Development « ASP.Net

Page Trace (C#)

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

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

    <title>Demonstration of Page Events</title>
    <form runat="server">
        <asp:Button id="Button1" runat="server" Text="Submit"></asp:Button>
        <br />


Related examples in the same category

1.Is trace enabled (
2.Trace for loop (
3.Write to Trace (
4.Use Trace to debug (
5.Page trace mode (
6.Write trace warn (
7.Trace asp calendar event (C#)
8.Page Trace in code behind (C#)
9.Write debug information to trace log (C#)
10.Write to Trace log in event action (C#)