473,395 Members | 1,341 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

silly question

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
Nov 18 '05 #1
4 839
It is Response.Write

Eliyahu

"John" <jo**@nospam.infovis.co.uk> wrote in message
news:e6**************@TK2MSFTNGP09.phx.gbl...
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

Nov 18 '05 #2
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");


"John" <jo**@nospam.infovis.co.uk> wrote in message
news:e6**************@TK2MSFTNGP09.phx.gbl...
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

Nov 18 '05 #3
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.. ;)
--
Regards,
Mike
http://bikesh.europe.webmatrixhosting.net
http://www.planetsourcecode.com (search keyword: phoetus)

"John" <jo**@nospam.infovis.co.uk> wrote in message
news:e6**************@TK2MSFTNGP09.phx.gbl...
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

---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.723 / Virus Database: 479 - Release Date: 20/07/2004
Nov 18 '05 #4
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
"ASP.Confused" <anonymous@> wrote in message
news:OW**************@TK2MSFTNGP12.phx.gbl...
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");


"John" <jo**@nospam.infovis.co.uk> wrote in message
news:e6**************@TK2MSFTNGP09.phx.gbl...
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


Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Pjotr Wedersteers | last post by:
This may be a silly question, but I was wondering. If 10 clients fill out a form on my page simultaneaously and hit submit, how does my (Apache2.0.50/PHP4.3.8) server exactly ensure each gets...
4
by: Jenny | last post by:
Hi you al I have two very silly question The first one is In vb 6.0 you can add a procedure, sub or function, by clicking add procedure from the tools item on the menuba I cannot seem to find...
7
by: Matt | last post by:
I've asked this question to some developers that are much more experienced than I, and gotten different answers --- and I can't find anything about it in the documentation. Dim vs. Private as a...
4
by: Marcin Kasprzak | last post by:
Hello Guys, Silly question - what is the most elegant way of compiling a code similar to this one? <code> typedef struct a { b_t *b; } a_t; typedef struct b {
5
by: Ben Bacarisse | last post by:
Newbie <newbie@gmail.comwrites: <snip> The version you posted in comp.programming has the correct loop. Why change it? -- Ben.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.