0
Reply

what id Difference Between Response.Write() & Response.Output.Write()?

srikanthreddy

srikanthreddy

Mar 29 2012 8:52 AM
1k
Answer with Example is:
 
Formatted string....
 
How:?
 
// i am taking two string variables in my website...
 
string name="srikanth";
string name1="how are you";
 
 
//i want to display "How are you srikanth" like this...
 
 
//i am trying this  as like bellow
 
Response.Write("how are you srikanth");
 
//This not Correct way..
 
Response.Output.Write("{1}{0}",name,name1);
//This is correct Way......



Except This anything is there?