silly question

J

John

Hi

What is the asp.net alternative to response.write? Basically I want to
output something to the web page in asp.net.

Thanks

Regards
 
A

ASP.Confused

Response.Write :)

With .NET, you put parenthesis around what you want to print. So if you
have this in ASP

Response.Write "Blah Blah Blah"

You would have this in ASP.NET:

VB.NET:
Response.Write("Blah Blah Blah")

C#
Response.Write("Blah Blah Blah");
 
M

Mike Smith

how about.. err. Label1.Text = " ..." ?
with this u can specify the output at a desired location ?

well since everybody else was giving back response.write... tot i'd take a
diff approach.. ;)
 
J

John

What can I use in a web method? I am trying to debug it remotely and need to
print out some values to see what is wrong when it runs on the remote
server.

Thanks

Regards
 

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,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top