What?s the difference between Response.Write()
andResponse.Output.Write()?
Answers were Sorted based on User's Feedback
Answer / guest
The latter one allows you to write formatted output.
Is This Answer Correct ? | 53 Yes | 10 No |
Answer / rahul
Response.Output.Write() allows you to write formatted output
Is This Answer Correct ? | 36 Yes | 5 No |
Response.write - it writes the text stream
Response.output.write - it writes the HTTP Output Stream.
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);
Is This Answer Correct ? | 33 Yes | 11 No |
Answer / priya
response.output.write allows String.Format style output and
the response.write doesn't
For example : Response.Output.Write("{0:d}", "Current Date
Time is: ",DateTime.Now);
Is This Answer Correct ? | 26 Yes | 9 No |
Answer / mallikarjun.b.a
Response.Write it is used to display the normal output But
Response.OutPut.write it is used to display the formated
Output
Is This Answer Correct ? | 17 Yes | 1 No |
Answer / atul yadav
response.write() just writes/displays the text or string on the web page. response.output.write() formats the string in the format specified before displaying it on the web page .
Is This Answer Correct ? | 4 Yes | 1 No |
Can you create an app domain ?
I create small website, i want accept all the browser this website? what will do?
Why is it preferred to not use finalize for clean up?
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.
what are the sitemap providers in Asp.net 2.0?
how many character send in one sms forget 160limit and think about gateway allowed
How to change Master page in ASP.Net using code?
what is diff between responseexpires and expiresabsolute
what is asp.net
From the given paragraph of text, write a program to match the strings of format “Any number of numerals followed by an underscore followed by any number of alphabets" ex:123_abc (Note:using regular expressions)
What event fired during, when datagrid click?
What is FullTrust? Do GACed assemblies have FullTrust?