silly question

  • Thread starter Thread starter John
  • Start date Start date
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
 
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");
 
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.. ;)
 
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
 
Back
Top