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
suman goud
NA
176
54k
Convert sqlserver query to lambda expression
Sep 6 2016 7:04 AM
i want convert following query to lambda expression (am working on mvc 4)
SELECT ap.BillDate,ap.Party,ap.Amount, apa.AmountAdjusted as amount
FROM Accounting_PendingBills ap
INNER JOIN Accounting_PendingBillsAdjusted apa
ON ap.VNumber=apa.VNumber
this query resulting in database
i have tried like this in controller
var data =
from ap in db.Accounting_PendingBills
join apa in db.Accounting_PendingBillsAdjusted on ap.VNumber equals apa.VNumber
select new {Accounting_PendingBills= ap,Accounting_PendingBillsAdjusted=apa };
but not getting values here
Reply
Answers (
5
)
I want to develope Facebook or gmail Hangout like chat
How to convert html to pdf