Difference
between Response.Write() and Response.WriteFile()
-
S.No
Response.Write() Response.WriteFile() 1 It writes information to the Http Response and can be used to display strings in the output. It writes the specified file directly to an HTTP response output stream. 2 Example: Response.Write("welcome"); Example: Response.WriteFile("demo.txt");
No comments:
Post a Comment