求助,如何给bootstrap-table定义refresh回调函数

2024-12-26 14:45:29
推荐回答(1个)
回答1:

ewBag.loginname = Session["loginname"];
HashSet role =(HashSet) Session["loginrole"];
if(role.Contains(1))
{
Session["roleflag"] = "1";
ViewBag.loginrole = "管理员";
}
var user=db.UserInfos.Include(u=>u.Department).ToList();
var total=user.Count;
var rows=user.S