What?s the difference between Response.Write()
andResponse.Output.Write()?

Answers were Sorted based on User's Feedback



What?s the difference between Response.Write() andResponse.Output.Write()?..

Answer / guest

The latter one allows you to write formatted output.

Is This Answer Correct ?    53 Yes 10 No

What?s the difference between Response.Write() andResponse.Output.Write()?..

Answer / rahul

Response.Output.Write() allows you to write formatted output

Is This Answer Correct ?    36 Yes 5 No

What?s the difference between Response.Write() andResponse.Output.Write()?..

Answer / kvnvani

Response.write - it writes the text stream
Response.output.write - it writes the HTTP Output Stream.

They are used to display output text in formatted manner as
below
Response.Write() output fotmat :
Response.Write"<h1>" & iTimer & "</h1>"
Response.Output.Write() output format :
Response.Output.Write("<h2>Process running as {0}</h2>",
WindowsIdentity.GetCurrent().Name);

Is This Answer Correct ?    33 Yes 11 No

What?s the difference between Response.Write() andResponse.Output.Write()?..

Answer / priya

response.output.write allows String.Format style output and
the response.write doesn't

For example : Response.Output.Write("{0:d}", "Current Date
Time is: ",DateTime.Now);

Is This Answer Correct ?    26 Yes 9 No

What?s the difference between Response.Write() andResponse.Output.Write()?..

Answer / mallikarjun.b.a

Response.Write it is used to display the normal output But
Response.OutPut.write it is used to display the formated
Output

Is This Answer Correct ?    17 Yes 1 No

What?s the difference between Response.Write() andResponse.Output.Write()?..

Answer / atul yadav

response.write() just writes/displays the text or string on the web page. response.output.write() formats the string in the format specified before displaying it on the web page .

Is This Answer Correct ?    4 Yes 1 No

What?s the difference between Response.Write() andResponse.Output.Write()?..

Answer / suresh.gv

R.W:: It writes to the browser
R.O.W :: It writes to the file

Is This Answer Correct ?    17 Yes 25 No

Post New Answer

More ASP.NET Interview Questions

What is the difference between viewstate and hidden field in asp.net?

0 Answers  


with which controls you worked in Asp.net 2.0?

2 Answers   HP, nTech Solutions,


How use Xml data in ASP.net?

0 Answers   MCN Solutions,


can any one find and tell the difference between dot net and php which one is best ? which one we get more salary? which one is stable and which one is best for freshers and also better in future and carrer ? which one we wil get more salary sir ? please send ur valuable suggestions to kiranpulsar2007@gmail.com

0 Answers  


What is the default timeout for a cookie?

0 Answers  






How can exception be handled with out the use of try catch?

0 Answers  


Explain why it is useful to use mvc instead of webforms? : asp.net mvc

0 Answers  


How can you debug an ASP page, without touching the code?

1 Answers   Prodigy Technologies,


How would you turn off cookies on one page of your website?

0 Answers  


What ?ll u do in early and late binding ?

1 Answers   DELL,


What is the differences between a primary key and a unique key in sql server?

0 Answers  


Should validation (did the user enter a real date) occur server-side or client-side? Why?

4 Answers   Siebel Systems,


Categories