Пример #1
0
        public void GetdetailsList()
        {
            int investid = Convert.ToInt32(Request.QueryString["investid"]);

            Admin_BLL.Shops_AuditBLL auditBLL = new Admin_BLL.Shops_AuditBLL();
            Getdetails.DataSource = auditBLL.Getdetails(investid);
            Getdetails.DataBind();
        }
Пример #2
0
        protected void RefuseBtn_Click(object sender, EventArgs e)
        {
            int Mid      = Convert.ToInt32(Session["Mid"]);
            int investid = Convert.ToInt32(Request.QueryString["investid"]);

            Admin_BLL.Shops_AuditBLL auditBLL = new Admin_BLL.Shops_AuditBLL();
            int count = auditBLL.UpRefuse(investid, Mid);

            if (count > 0)
            {
                JSHelper.Alert(this, "拒绝通过");
                Response.Redirect("Shops_Audit.aspx");
            }
        }
Пример #3
0
        protected void GetInvest_ItemCommand(object source, RepeaterCommandEventArgs e)
        {
            int investid = Convert.ToInt32(e.CommandArgument);

            if (e.CommandName == "Particular")
            {
                Response.Redirect("shopping_detailed.aspx?investid=" + investid);
            }
            if (e.CommandName == "Delete")
            {
                int mid = Convert.ToInt32(Session["Mid"]);
                Admin_BLL.Shops_AuditBLL auditBLL = new Admin_BLL.Shops_AuditBLL();
                int count = auditBLL.UpDelete(investid, mid);
                if (count > 0)
                {
                    GetInvestlist();
                }
            }
        }
Пример #4
0
 public void GetInvestlist()
 {
     Admin_BLL.Shops_AuditBLL auditBLL = new Admin_BLL.Shops_AuditBLL();
     GetInvest.DataSource = auditBLL.Getinvest();
     GetInvest.DataBind();
 }