Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
5
Reply
Convert datetime2 to string(“dd/MM/yyyy”)
siva nagarjuna
Aug 24 2016 12:47 AM
414
Reply
i have a datetime2 column in the database.I'm trying to fetch that from database and
I want to display it in the view as string.
i tried: dt.ToString("dd/MM/yyyy");
But it gave an error.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
mongodb database
How to change the username & password of cpanel phpmyadmin