How to join 2 tables with entity framework and then retrieve one data from column among joined table and bind to textbox.
Can anybody help me in this problem.
Thanks a lot :-)
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sibeesh VenuPosted May 7, 2015, 2:46 AM
You mean you need to return only one field from the query? If yes you can select only one (Which field you need to bind to text box) from the query as follows.
Asp.Net HeinPosted May 7, 2015, 2:40 AM
Sibeesh VenuPosted May 7, 2015, 2:37 AM
You can do something like this,
See here for more info: http://stackoverflow.com/questions/21051612/entity-framwork-join-3-tables
Please accept as answer if it helps you.
Kindest Regards
Sibeesh Venu
www.sibeeshpassion.com