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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Hiten PandyaRank #1,237 · 1.4K reputationPosted Mar 25, 2018, 7:34 PM EDT
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.