1.Formatted output will be displayed.
2.It gives String.Format-style formatted output.
3.It writes the HTTP Output Stream.
4.As per specified options it formats the string and then write to web page.
Response.Write..
1.unformatted output will be displayed.
2.It never gives like that.
3.It writes the text stream
4.It just output a string to web page.
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);
No comments:
Post a Comment