protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         grvUsers.DataSource = userBLL.GetAllUsers();
         grvUsers.DataBind();
     }
 }
Esempio n. 2
0
        public IActionResult Index()
        {
            try
            {
                PartialView("UserGrid", ControllerHelper.FillUserGridModel(UsersBLL.GetAllUsers()));

                return(View("ManageUser"));
            }
            catch (Exception)
            {
                throw;
            }
        }
Esempio n. 3
0
 void BindGrid()
 {
     grdUsers.DataSource = userBLL.GetAllUsers();
     grdUsers.DataBind();
 }