Ejemplo n.º 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();
        }
    }
Ejemplo n.º 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();
        }
    }
Ejemplo n.º 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;
        }
    }
Ejemplo n.º 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;
        }

    }