My controller is returning following list :
public ActionResult Index()
{
CRMDataContext mycontext=new CRMDataContext();
var myquery = (from c in mycontext.Websites
select c).ToList();
return View(myquery);
}
i'm wondering how can i loop through myquery to display its properties in view??
any suggestions for improving above code will be added advantage.