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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the file through which you can customize your asp.net application?

635


What is the default authentication mode for asp.net?

658


Explain About WebService

759


Explain the difference between singleton and single call?

624


How can you identify that the page is post back?

652






Explain the difference between inline and code behind - which is best in?

589


What is the difference between application state and session state in asp net?

617


How can we access static variable?

719


How can we make sure that Web API returns JSON data only?

622


What is a ashx file?

650


What is application variable in asp.net?

531


What is a viewbag?

605


i want to implement grid view value in paypal site. so how to create this code in asp.net with C#

1509


What is the difference between “Web.config” and “Machine.Config”?

775


What is a session http?

604