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
dc
NA
663
0
C# linq select datetime range
Oct 9 2012 3:37 PM
In a linq to sql statement in a C# 2010 console application, I want to be able to select a specific datetime frame. The timeframe
would be between is between srtdatetime and enddatetime.
var elocation = (from iw in eData.books
join ip in eData.IPack on iw.PID equals ip.PID
where ip.TNum == pkId
and iw.idate is between srtdatetime and enddatetime
select iw).FirstOrDefault();
Can you tell me in linq to sql how to select a datetime frame in a where statement?
Reply
Answers (
1
)
C# send message to cell phone
How to convert or cast System.IntPtr into System.Drawing.Image or Bitmap ???