public void LoadData(string managerID, string managerName, int DepartmentID, int PowerID) { ManagerBll managerBll = new ManagerBll(); ManagerEnitity managerEntity = new ManagerEnitity(); managerEntity.ManagerID = managerID; managerEntity.ManagerName = managerName; managerEntity.DepartmentID = DepartmentID; managerEntity.PowerID = PowerID; managerBll.Asp(this.GridView1, this.AspNetPager1, managerEntity); }