what is diffrance between response.write &
response.output.write

Answer Posted / balasubramani

Response.Write will print the result as it is.
Whereas Response.Output.Write will print the formatted
output.

For Example:
Response.Output.Write("Notepad Process Started at : {0}",
DateTime.Now.ToString());

Is This Answer Correct ?    20 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you handle errors in Web API?

808


What is the Difference between MVC And MVP design pattrens

2419


What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?

905


How can you register a custom server control to a web page?

748


Where is asp.net session stored?

666


What is difference cookie and session?

729


What are the different session state management options available in asp.net?

723


Define view state.

734


Explain MVC model binders?

802


Is asp.net different from asp? If yes, explain how?

704


From which base class all web forms are inherited?

701


How can I open ashx file in mobile?

833


Why do we need a web application session?

703


How many web config files can be created for an application?

618


What is content place holder?

714