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
Arun Khatri
NA
9
711
How to show calculated field in the index view?
Mar 21 2016 11:22 PM
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.
Reply
Answers (
3
)
How to get the value of hiddenfield and pass to another page
how to display html from database