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
Jaima Joseph
NA
94
107.3k
How to retrieve value using LINQ in MVC
Mar 26 2014 6:03 AM
Hii,
Please Any Help??
I have two tables where one is having some ids(primary key) and in the second table each of these id can have zero or more records. And each of these records contains some price and quantity values .I want to show the IDs in the first table and the sum of product of price and quantity in second table for the corresponding records in first table, in my view in my MVC application.
Ie. in my view, I want to show id and its value (sum of product of all the records value in second table ).How two code the linq query for this in mvc??
Please help....
Reply
Answers (
6
)
DataTable to chart
how to write effective c# programming