Dear Sir ,
var query = from p in db.country_master select new{Cid = p.ID,cname = p.Country,ccode=p.Country_code,active = p.Active== true ? "D-Activate" :"Activate"};
\
we use alias then how to call cshtml page for bind table. 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 attend5days leftRegister
Manas MohapatraRank #182 · 13.2K reputationPosted May 29, 2017, 9:18 PM EDT