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() 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