protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { AdminManager am = new AdminManager(); branchDDL.DataSource = am.getBranches(); branchDDL.DataBind(); roleDDL.DataSource = Roles.GetAllRoles(); roleDDL.DataBind(); } }