Saturday, June 2, 2012

Difference between Response.output.write() and Response.write() ?


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:"


What is the base class of .NET?
System.Object is the base class of .NET.

No comments:

Post a Comment

Comments

Search

Custom Search
Protected by Copyscape Plagiarism Software