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

Can we set master page as a start page?

548


What is state management technique?

547


What is a response cookie?

612


What is cas?

598


How to prevent client side validation from the ASP.NET validation controls?

579






What is a page life cycle?

569


How can you use a custom controls in ASP.NET application?

552


When you use Ajax controls in the ASP.NET application?

570


What is session and cookies in asp.net?

555


Describe how ASP.NET maintains process isolation for each Web application?

576


How to manage different kinds of sessions in ASP.NET?

565


What are the different web pages?

497


Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?

556


List of words of preprocessor in .net?

521


Explain diff between dataset and datareader?

533