protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ddlEvent.DataSource = DALPortal.DSLEventsAll(); ddlEvent.DataValueField = "EventID"; ddlEvent.DataTextField = "EventName"; ddlEvent.DataBind(); ddlTeam.DataSource = DALPortal.DSLTeamAll(); ddlTeam.DataValueField = "TeamID"; ddlTeam.DataTextField = "TeamName"; ddlTeam.DataBind(); btnBack.Attributes.Add("onclick", "history.back(); return false"); } this.BindEventScheduleList(); }