ASP.NET Tutorial/Page Lifecycle/Trace — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 15:30, 26 мая 2010
Tracing using Page.Trace
File: Web.config
<configuration>
<system.web>
<trace enabled="true" pageOutput="true" />
</system.web>
</configuration>
C#
protected void Page_Load(object sender, EventArgs e)
{
Trace.Write("This message is from the START of the Page_Load method!");
}