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
Ian Davies
NA
28
1.6k
Date Formatting in Text Box Content
Nov 12 2020 10:25 AM
Hi
I have run into an issue with date formating.
I have a form in WPF to recall data from a SQL table which includes a DATE. When it reclalled it is showing the correct date but also the time set at midnight which is not needed. How do I format the C# code so its just the date showing?
This is the data recall line
txt_added.Text = sqlreader.GetValue(3).ToString();
Many Thanks for any help.
Reply
Answers (
4
)
How to add Serial/Index # column at the start of Jquery Datatable
Show a message through a controller “Attendance is already marked”