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
Mayank Jani
NA
477
77.4k
fetch records of today only
Sep 13 2019 9:04 AM
Hi members,
I am working on C# Windows Application with Access database.
I want a select query that fetches all the records of today only. I know how to use the date time picker and text box but in this case I want to use the system date automatically.
I have tried the below query...
Select BillSrNo,BillPartyName,BillAmtPaid From Billings Where BillDate=" + DateTime.Now.ToShortDateString(), MyConnAcc);
...but it's not working and even not throwing any exception. I have also tried with DateTime.Today etc. but same result.
Thanks
Mayank Jani
Reply
Answers (
3
)
csharp algorithms
What is new in c# 8?