Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Reply
how to pass null value to text box with DateTime Data
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
sivapratap Kurapati
10y
751
1
Reply
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
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Asp.net codes for Converting Asp.net page into pdf ?..
how to take frame in any video file in asp.net