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
What is the difference between the get method () and post method ()?
Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?
What is the maximum amount of memory any single process on windows can address?
How can you make sure that web api returns json data only?
Can one dll file contains the compiled code of more than one .net language?
What are the two types of web pages?
What is custom events? How to create it?
We Only Know The Total Number Of Feet In The Farmyard. Write A Program that will compute the total number of rabbits and chickens in the farmyard. Assume number of feet in the farmyard are 40. how many rabbits and chickens are?
Explain the advantages of asp.net.
What is marshalling ? Is it a part of asp.net ?
Differentiate between globalization and localization.
What are the built-in objects in asp.net?
What is rich control in asp.net?
What is the difference between executescalar and executenonquery?
What are the layouts of ASP.NET Pages?