Ejemplo n.º 1
0
        public void TheList()
        {
            The_capitalBLL capitalBLL = new The_capitalBLL();

            RepeaterTheList.DataSource = capitalBLL.the_CapitalsList();
            RepeaterTheList.DataBind();
        }
Ejemplo n.º 2
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            string         Thename = Txtinvestname.Value;
            The_capitalBLL the     = new The_capitalBLL();

            Repeater1.DataSource = the.the_Thequery(Thename);
            Repeater1.DataBind();
        }
Ejemplo n.º 3
0
        public void GitList()
        {
            int            Theid      = Convert.ToInt32(Request.QueryString["Theid"]);
            The_capitalBLL capitalBLL = new The_capitalBLL();

            Getdetails.DataSource = capitalBLL.GetTheusList(Theid);
            Getdetails.DataBind();
        }
Ejemplo n.º 4
0
        public void ApprovedList()
        {
            The_capitalBLL the = new The_capitalBLL();

            Repeater1.DataSource = the.the_CapitalsList();
            Repeater1.DataBind();
            HomeBLL bLL = new HomeBLL();

            Repeater2.DataSource = bLL.HomeThe_capital();
            Repeater2.DataBind();
        }
Ejemplo n.º 5
0
        protected void RefuseBtn_Click(object sender, EventArgs e)
        {
            int            mid        = Convert.ToInt32(Session["Mid"]);
            int            Theid      = Convert.ToInt32(Request.QueryString["Theid"]);
            The_capitalBLL capitalBLL = new The_capitalBLL();
            int            count      = capitalBLL.RefusedTo(Theid, mid);

            if (count > 0)
            {
                JSHelper.Alert(this, "拒绝通过");
                Response.Redirect("TheShops_Audit.aspx");
            }
        }
Ejemplo n.º 6
0
        protected void Repeater1_ItemCommand(object source, RepeaterCommandEventArgs e)
        {
            int Theid = Convert.ToInt32(e.CommandArgument);

            if (e.CommandName == "Delete")
            {
                int            mid   = Convert.ToInt32(Session["Mid"]);
                The_capitalBLL the   = new The_capitalBLL();
                int            count = the.ManagementToDelete(Theid, mid);
                if (count > 0)
                {
                    ApprovedList();
                }
            }
        }
Ejemplo n.º 7
0
        protected void RepeaterTheList_ItemCommand(object source, RepeaterCommandEventArgs e)
        {
            int Theid = Convert.ToInt32(e.CommandArgument);

            if (e.CommandName == "Particular")
            {
                Response.Redirect("Theshopping.aspx?Theid=" + Theid);
            }
            if (e.CommandName == "Delete")
            {
                int mid = Convert.ToInt32(Session["Mid"]);

                The_capitalBLL the   = new The_capitalBLL();
                int            count = the.ManagementToDelete(Theid, mid);
                if (count > 0)
                {
                    TheList();
                }
            }
        }