protected void btn_Approve_Click(object sender, EventArgs e) { PDT_StandardPriceBLL _bll = new PDT_StandardPriceBLL((int)ViewState["PriceID"]); if (_bll.GetApplyCityDetail().Count == 0 && _bll.Model["IsRebatePrice"] != "1") { MessageBox.Show(this, "请点击【适用区域】按钮,选择该标准价表适用于的区域!"); return; } _bll.Approve((int)Session["UserID"]); MessageBox.ShowAndRedirect(this, "审核成功!", "PDT_StandardPriceDetail.aspx?PriceID=" + ViewState["PriceID"].ToString()); }