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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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
 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 ?    3 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 ?    1 Yes 0 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 ?    2 Yes 1 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 ?    3 Yes 0 No
Priya
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Compare and contrast between inline and code behind - which one is best?  1
Write a code for "RequiredFieldValidator" in java script Wipro3
Can any one explain with the example how to capture the application error in Aplication_Error() method? Infosys1
Why Web Services?  1
What is runtime host ? Digital-GlobalSoft1
What is the difference between a Stored procedure and function?  5
What is the name of the process the browser uses to find the address of a web server? a) DMZ b) DNS c) Active Directory d) Database lookup Syntax-Softtech1
Define an assembly?  5
What is the use of The Page.Master Property?  1
How to authenticate users using Web.Config ? Accenture1
I am having four text boxes in my web application. I am setting Required Field validator to each Text box. And I am having two buttons in my application. If i clicked the first button only first two text box validation will get fire. Dont show error message for remaining two text box. If i clicked second button last two text box validation will get fired. It will not consider the first two validation controls. That is how to enable and disable the validation controls.  4
What is an assembly? Value-Labs1
What?s the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs"? SLC-Ltd2
How do you relate an aspx page with its code behind Page? Accenture1
If cookies is disabled in client browser will session work ? Satyam2
What are the differences between Dataset and DataReader? Accenture3
What is the difference between a.Equals(b) and a == b?  2
Types of session management in ASP.NET ? Microsoft1
public key? Microsoft1
Explain how server control validation controls works? Syntax-Softtech2
 
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