protected void bt_Approve_Click(object sender, EventArgs e) { if (ViewState["VolumeID"] != null) { bt_Submit_Click(null, null); SVM_SalesVolumeBLL bll = new SVM_SalesVolumeBLL((int)ViewState["VolumeID"]); bll.Approve((int)Session["UserID"]); MessageBox.ShowAndRedirect(this, "数据审核成功!", "SalesVolumeList.aspx?SellOutClientID=" + bll.Model.Supplier.ToString() + "&SellInClientID=" + bll.Model.Client.ToString() + "&Type=" + ViewState["Type"].ToString()); } }
protected void bt_Approve_Click(object sender, EventArgs e) { if (ViewState["VolumeID"] != null) { bt_Save_Click(null, null); SVM_SalesVolumeBLL bll = new SVM_SalesVolumeBLL((int)ViewState["VolumeID"]); bll.Approve((int)Session["UserID"]); MessageBox.ShowAndRedirect(this, "数据审核成功!", "TransferVolumeList.aspx?TransferOutClientID=" + select_Supplier.SelectValue + "&TransferInClientID=" + select_Client.SelectValue); } }