Display values

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I am testing an Asp.Net 2.0 web page on VS 2005 and I need to check
some variable values while it runs.
What is the best way to do this?

What should be my C# or VB.NET code?

Thanks,
Miguel
 
Hello,

I am testing an Asp.Net 2.0 web page on VS 2005 and I need to check
some variable values while it runs.
What is the best way to do this?

What should be my C# or VB.NET code?

Thanks,
Miguel

The best way is to debug the page (press F5) and step thru the code
while watching your Autos debug window. Otherwise you can use the old
ASP method of Response.Write("my variable is now: " + strVariable);

Regards,
Brandon
==================
http://www.busedge.com
 
The best way is to debug the page (press F5) and step thru the code
while watching your Autos debug window. Otherwise you can use the old
ASP method of Response.Write("my variable is now: " + strVariable);

Regards,
Brandon
==================
http://www.busedge.com

Or better yet the Trace object to write the variable values
 
Back
Top