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
shan
NA
1
0
Month name in LINQ
Jun 2 2011 8:11 AM
Hi,
I need month name in LINQ,
The below query is used in SQL -
select CONVERT(VARCHAR(3), datename(MM, getdate()), 100)
to get the month name .
How to convert in LINQ.
I also need Week number of the month in LINQ
select datediff(week, convert(varchar(6), getdate(), 112) + '01', getdate()) + 1 AS Week
Reply
Answers (
2
)
Passing a record to a function using IQueryable
use of linq in asp.net projects?