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
 

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

Similar Threads

VB.NET vs C# 20
Console.Writeline 4
Which project should I create? 1
Asp.Net 2.0 Question. 2
XML to XML using XSL. Please, help me! Thank You! 2
Culture 1
Master Page. Why does this happens? 1
Use library 1

Back
Top