What is wrong with a line like this? DateTime.Parse(myString)
Answer Posted / rahul misra
A statement like this should be used only after making sure
that the string contains DateTime data.
e.g DateTime.Parse("3 4") will return 3rd April 2009
(current year assuming DD-MM-YYYY as the datetime format as
per the machine's settings)
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What are sessions used for?
What does asax stand for?
Apart from IDE what are the enhancements in asp.net 2.0?
Which protocol is used to call a web service?
Explain the difference between singleton and single call?
List down the sequence of methods called during the page load.
What is a pixel url?
Is data edited in the Repeater control?
What’s difference between “optimistic” and “pessimistic” locking?
how to include timer or counting time to display next page in asp.net
What is ASLM?
What is web api and why to use it?
Explain method to handle error using HttpError in Web API?
How does asp.net page work?
What is asp.net caching?