>Hi everybody,
>
>Suppose I want to find out a simple thing -
>
>string strTest = "test'another test";
>strTest = strTest.Replace("'","\'");
>
>How can I check my strTest without running the website in a debugger (sort of a command window in VFP)?
>
>Do I still have to run something in Debugger and then try to use Immediate window?
You can turn on trace for the page or the entire application and then use Trace.Write to display info.
Trace.Write("*** strTest = " + strTest);
One way to turn on page level tracing, add the attribute Trace="true" to the "< %@ Page" declaration that is the first line of the aspx page.
< %@ Page Trace="true"
Michael McLain