예제 #1
0
        public ActionResult MyEmployeeDashboard()
        {
            DataTable EmployeeNames = new QueryStrings().GetUserNames();
            var       data          = from dt in EmployeeNames.AsEnumerable()

                                      select dt.Field <string>("users");

            ViewBag.Names = data.ToList();
            return(View());
        }