ASP.NET School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a ASP.NET Expert!

Join 300,440 ASP.NET Programmers for FREE! Get instant access to thousands of ASP.NET experts, tutorials, code snippets, and more! There are 1,506 people online right now. Registration is fast and FREE... Join Now!




ASP.NET

 

ASP.NET

web development

19 Jun, 2009 - 05:23 AM
Post #1

New D.I.C Head
*

Joined: 19 Jun, 2009
Posts: 1

What’s the difference between Response.Write() and Response.Output.Write()?

User is offlineProfile CardPM
+Quote Post


PsychoCoder

RE: ASP.NET

19 Jun, 2009 - 07:00 AM
Post #2

Dyslexics Untie!
Group Icon

Joined: 26 Jul, 2007
Posts: 14,714



Thanked: 501 times
Dream Kudos: 11450
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net, jQuery

My Contributions
Response.Output.Write() allows you to write formatted output, such as

CODE

Response.Output.Write("<h2>Once again running as {0}</h2>", WindowsIdentity.GetCurrent().Name);


Also, Response.Output.Write() writes to the HTTP output stream whereas Response.Write writes to a text stream then writes out the output.

Hope that helps smile.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/8/09 01:12AM

Live ASP.NET Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

ASP.NET Tutorials

Reference Sheets

ASP.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month