Display values

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
 
B

BusEdge

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
 
R

Rad [Visual C# MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top