Difference between Response.Write() and Respons.WriteFile()

 Posted by Ddd on 3/24/2011 | Category: ASP.NET Interview questions | Views: 4182 | Points: 40


It writes information to the Http Response and can be used to display strings in the output.

example: Response.Write("welcome");


Writes the specified file directly to an HTTP response output stream.

example:- Response.WriteFile("demo.txt");

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response