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 .
Response.Write("Current Date Time is "+DateTime.Now.ToString());
Response.Output.Write("{0:d}", "Current Date Time: ", DateTime.Now)
The index {0} is replaced by "Current Date Time:"
formats the string in the format specified before displaying it on the web page .
Response.Write("Current Date Time is "+DateTime.Now.ToString());
Response.Output.Write("{0:d}", "Current Date Time: ", DateTime.Now)
The index {0} is replaced by "Current Date Time:"
What is the base class of .NET?
System.Object is the base class of .NET.
System.Object is the base class of .NET.
No comments:
Post a Comment
Comments