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
How to implement role based security in asp.net mvc? : Asp.Net MVC
Briefly describe the role of global.asax?
Where the cookie value is stored?
Explain the differences between managed and unmanaged code?
Which namespace is used by ado.net?
What are triggers of an updatepanel?
What are the different session state management options available in asp.net?
Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?
What is csrf attack in asp.net?
what is AutoEventWireUp and what is the use of This property explain in details?
How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?
What are sessions and cookies?
When you use Ajax controls in the ASP.NET application?
How can we communicate with each server in N-tier Architecture? and what are the methods?
What is asp.net ajax?