Beispiel #1
0
        public ActionResult Viewdetails()
        {
            l = LayoutOperations.Getall();

            ViewBag.emplist = l;
            return(View());
        }
Beispiel #2
0
        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));
        }
Beispiel #3
0
        // GET: EMP
        public ActionResult Index()
        {
            List <EMPDATA> l = LayoutOperations.Getall();

            return(View(l));
        }