What is wrong with a line like this? DateTime.Parse(myString)

Answer Posted / fusion

No .it can have one argument.
Eg. Response.Write(DateTime.Parse("10:50:39"))
will return you date and time.
such as 24/06/2008 10:50:39 AM

You can not simply have any irrlevant string,it should be
some string containing data or time value.

Is This Answer Correct ?    8 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of dataadapter.

579


What are the Types of object in asp

637


What are main return types supported in Web API?

750


What are the new navigation controls in asp.net 2.0?

538


Explain how to prepare culture-specific formatting in .net.

536






Define xmlreader class.

575


What is the file through which you can customize your asp.net application?

548


What is a session government?

505


Why select Web API?

567


What is session mode in asp.net?

519


What is the use of session in web application?

485


What is the caspol.exe tool used for?

545


Explain client-side scripting?

573


What does mean by a neutral culture?

603


What is a SESSION and APPLICATION object?

578