Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
How to show calculated field in the index view?
Arun Khatri
Mar 21 2016 11:22 PM
365
Reply
In an MVC project I have the following two tables:
CaseData (CaseId,CaseNo )
Invoice (InvoiceId, CaseId, Amount)
CaseId, the primary key in table CaseData is a foreign key in table Invoice. There is One to Many relationship between table CaseData and Invoice.
What I want to do is to show Sum Total of the field Amount against each record of the table CaseData in the Index view.
Please consider that I am using Entity Framework to access data in my project.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
How to get the value of hiddenfield and pass to another page
how to display html from database