protected void bt_Copy_Click(object sender, EventArgs e) { if ((int)ViewState["ID"] != 0) { int forwarddays = ConfigHelper.GetConfigInt("FeeApplyForwardDays"); int month = AC_AccountMonthBLL.GetMonthByDate(DateTime.Now.AddDays(forwarddays)); int id = FNA_FeeApplyBLL.Copy((int)ViewState["ID"], (int)Session["UserID"], month); MessageBox.ShowAndRedirect(this, "申请单重新激活成功!", "FeeApplyDetail3.aspx?ID=" + id.ToString()); } }