ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
What?s the difference between Response.Write()
andResponse.Output.Write()?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What?s the difference between Response.Write() andResponse.Output.Write()?
Answer
# 1
The latter one allows you to write formatted output.
 
Is This Answer Correct ?    14 Yes 0 No
Guest
 
  Re: What?s the difference between Response.Write() andResponse.Output.Write()?
Answer
# 2
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 ?    5 Yes 1 No
Kvnvani
 
 
 
  Re: What?s the difference between Response.Write() andResponse.Output.Write()?
Answer
# 3
R.W:: It writes to  the browser
R.O.W :: It writes to the file
 
Is This Answer Correct ?    5 Yes 5 No
Suresh.gv
 
  Re: What?s the difference between Response.Write() andResponse.Output.Write()?
Answer
# 4
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 ?    9 Yes 1 No
Priya
 
  Re: What?s the difference between Response.Write() andResponse.Output.Write()?
Answer
# 5
Response.Output.Write() allows you to write formatted output
 
Is This Answer Correct ?    7 Yes 0 No
Rahul
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
what is view state? Satyam9
Define Query Interface,Adref,Release? Microsoft1
What is the namespace used to store the information about the user?s locale?  1
If I'm developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users? Syntax-Softtech7
version information is mentioned in which file AG-Technologies3
What is a WebService and what is the underlying protocol used in it? Namespace?  1
If you want a certain ASP.NET function executed on MouseOver for a certain button. Where do you add an event handler?  1
How do you install windows service? Tech-Mahindra3
hi ans dis qstn. "what is d max size of query string. If it exceeds does it give error. if yes wt error it gvs, if no gv the reason" thnx in advance  3
Which method do you invoke on the DataAdapter control to load your generated dataset with data?  2
What are the types of authentications in ASP.NET? Accenture1
What?s a bubbled event?  1
How can i include both C# and vb.net classes in same solution?  2
what does membership class provide?  1
What r new things introduced in ASP.NET 2.0 in comparision to ASP.NET 1.1  1
What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other? Satyam3
Types of session management in ASP.NET ? Microsoft2
How to implement caching? Microsoft1
Is overloading possible in web services? Microsoft2
is it possible to persiste customize object in view state? how it is?  2
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com