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

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