searching records from a database and displaying in a textbox using asp.net mvc using EF


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.
Hiten PandyaPosted Mar 25, 2018, 11:34 PM
You have to pass your Id as argument in the linq to sql query. See the example in below link,
https://forums.asp.net/t/2012977.aspx?How+to+retrieve+data+from+one+entity+model+using+the+Id+from+another+entity+model+
Hope it helps you.
Thanks.