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
Mukesh Kumar Tiwari
NA
980
250.6k
How To Generate Record Row Number In Linq to Sql.
Jun 2 2014 7:06 AM
Hey frnds
i want to generate a Sr. No. in grid of all The Records using linq to sql query..
i have done this thing in Sql Query but i want to do it with linq..
select
ROW_NUMBER() Over (Order by SID) As [S.N.], [ProductBrand],[ProductModel]
[Type]
from stock where stockStatus='YES'
please make the linq query of above query..
Reply
Answers (
1
)
Grouping on dynamic columns in LINQ to SQL
Dynamic Querying for edmx file