R
rn5a
How do I enable tracing for only a part of a code in an ASP.NET page?
For e.g. how do I find out whether a condition has been met or not
using Trace.Write (or Trace.Warn)?
If I enable Trace="True" in the @Page directive, the ASPX page will
display the entire trace information but I want the trace information
for only the condition. How do I achieve this?
Thanks
For e.g. how do I find out whether a condition has been met or not
using Trace.Write (or Trace.Warn)?
If I enable Trace="True" in the @Page directive, the ASPX page will
display the entire trace information but I want the trace information
for only the condition. How do I achieve this?
Thanks