Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
6
Reply
How to retrieve value using LINQ in MVC
Jaima Joseph
Mar 26 2014 6:03 AM
1.4k
Reply
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....
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
DataTable to chart
how to write effective c# programming