TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sivapratap Kurapati
NA
95
38.9k
how to pass null value to text box with DateTime Data
Apr 15 2014 4:10 AM
Hi,
I am passing Date as "04/15/2014" on click of Calender Selected Change to text box. In my Code behind File i am making
if(txtDate.text=="")
{
value=
//I am not getting what to assign
}
else
{
value=DatetTime.Parse(txtDate.text);
//This is giving error as "Error: Sys.WebForms.PageRequestManagerServerErrorException: The string was not recognized as a valid DateTime. There is a unknown word starting at index 0."
}
please help me with this issue.
Regards,
Sivapratap
Reply
Answers (
2
)
Asp.net codes for Converting Asp.net page into pdf ?..
how to take frame in any video file in asp.net