public ActionResult Viewdetails() { l = LayoutOperations.Getall(); ViewBag.emplist = l; return(View()); }
public ActionResult chckboxextract() { var e = Request.Form.Get("chckbox"); l = LayoutOperations.Getall(); List <EMPDATA> newlist = new List <EMPDATA>(); foreach (var item in l) { if (e.Contains(item.EMPNO.ToString())) { newlist.Add(item); } } return(View(newlist)); }
// GET: EMP public ActionResult Index() { List <EMPDATA> l = LayoutOperations.Getall(); return(View(l)); }