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
Goran Bibic
479
2.9k
198.4k
Datetimepicker selection changed
Mar 24 2018 10:00 AM
Use this...if is column null i want to show this value in selection changed
private
DateTime emptydate = DateTime.Parse(
"2018-01-01 00:00:00"
);
How to setup this line for selection changed
vrijemeodjaveDateTimePicker.Value = string.IsNullOrEmpty(vrijemeodjaveDateTimePicker.Value == emptydate) ? ((object)DBNull.Value : vrijemeodjaveDateTimePicker.Value;
If is value in sql is null to show this value 01-01-2018 00:00:00
Reply
Answers (
4
)
How to convert Entire Excel Workbook into PDf in C#
Setup default value if is datetimepicker in sql column null