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
sdnaffi
NA
12
0
Cast of DBNull
Feb 28 2005 1:16 AM
Hi , I got a problem in formatting of date when i try to do the following, if(c.Value.GetType() != typeof(DBNull)) { DateTime dt = DateTime.Parse(c.Value.ToString()); c.Value = dt.ToString("dd/MM/yyyy"); } It says "Object cannot be cast from DBNull to other types" what i have to do ... pls help me soon as possible guys. thank u
Reply
Answers (
3
)
Master Pages
Command Builder