/// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void btnDelete_Click(object sender, System.EventArgs e) { ML_MailDAL maildal = new ML_MailDAL(); if (maildal.UpdateIsdeleteByID(int.Parse(MailID)) == 0) { Response.Write("<script language=javascript>alert('邮件删除成功!');window.location='Index.aspx?FolderType=" + FolderType + "';</script>"); } else { Server.Transfer("../../Error.aspx"); } }
public int UpdateIsdelete() { return(_dal.UpdateIsdeleteByID(_m.ID)); }