Ejemplo n.º 1
0
    private void refreshGroupDropDownList()
    {
        List <Group> groupList = bl.getGroupList(Session["UserName"].ToString());

        Group_DropDownList.Items.Clear();

        Group_DropDownList.Items.Add("No Group");

        foreach (Group group in groupList)
        {
            Group_DropDownList.Items.Add(group.Name);
        }
    }
Ejemplo n.º 2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        //LOGIN and GROUP SELECT check
        if (Session["UserName"] == null)
        {
            Response.Redirect("MainPage.aspx");
        }

        Session["ShowSelectedEvent"] = "true";

        bl        = new EventerBL();
        groupList = bl.getGroupList(Session["UserName"].ToString());

        if (!this.IsPostBack)
        {
            createGroupTable();
        }
    }