Example #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session == null || (string)Session["loggedin"] != "2")
        {
            Response.Redirect("default.aspx");
        }

        // zodat btnclick niet upfuckt
        if (!Page.IsPostBack)
        {
            BLLtype BLLtype = new BLLtype();
            DropStoreType.DataSource = BLLtype.selectAll();
            DropStoreType.DataTextField = "name";
            DropStoreType.DataValueField = "id";
            DropStoreType.DataBind();
        }
    }
Example #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session == null || (string)Session["loggedin"] != "2")
        {
            Response.Redirect("default.aspx");
        }

        // zodat btnclick niet upfuckt
        if (!Page.IsPostBack)
        {
            BLLtype BLLtype = new BLLtype();
            DropStoreType.DataSource     = BLLtype.selectAll();
            DropStoreType.DataTextField  = "name";
            DropStoreType.DataValueField = "id";
            DropStoreType.DataBind();
        }
    }
Example #3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            if (Session == null || (string)Session["loggedin"] != "2")
            {
                Response.Redirect("default.aspx");
            }

            BLLtype BLLtype = new BLLtype();

            drpType.DataSource     = BLLtype.selectAll();
            drpType.DataTextField  = "name";
            drpType.DataValueField = "id";
            drpType.DataBind();

            addStoreMap.Width  = 600;
            addStoreMap.Height = 250;
        }
    }
Example #4
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            if (Session == null || (string)Session["loggedin"] != "2")
            {
                Response.Redirect("default.aspx");
            }
            
            BLLtype BLLtype = new BLLtype();

            drpType.DataSource = BLLtype.selectAll();
            drpType.DataTextField = "name";
            drpType.DataValueField = "id";
            drpType.DataBind();

            addStoreMap.Width = 600;
            addStoreMap.Height = 250;
        }

    }