Khushboo Kumari

Khushboo Kumari

  • NA
  • 112
  • 14.5k

display labels text dynamically in mvc

Jan 17 2018 6:37 AM
i have code controller action method and i want to display these values in label using jquery ,please any one help me
 
var _Question = (from qd in db.Question_Table
join od in db.Option_Table on qd.Question_id equals od.Question_id_FK
orderby od.Question_id_FK
select new
{
od.Option1,
od.Option2,
od.Option3,
od.Option4,
//qd.Question_id,
qd.Question_Description,
//qd.MCQ_,
//qd.Is_Active,
}).ToList();
return Json(_Question, JsonRequestBehavior.AllowGet);

Answers (1)