Friday 30 March 2012

What is the difference between Response.Write() and Response.Output.Write()

Both the commands are used to display the output on the screen. 

Response.Write() is used to display a single line output. 

Response.Output.Write() is used to display a formatable output. 

Example: 
Response.Write("Hi");



Response.Output.Write("x={0},y={1},x,y");

No comments:

Post a Comment