void Save(string cmd) { usersIdImageInfo update = new usersIdImageInfo(); update.id = ItemInfoId; if (cmd == "ok") { update.status = IdImageStatus.审核成功; } if (cmd == "fail") { update.status = IdImageStatus.审核失败; } update.why = this.txtWhy.Text.Trim(); update.checktime = DateTime.Now; update.admin = this.ManageId; update.userId = ItemInfo.userId; BLL.User.usersIdImage bll = new viviapi.BLL.User.usersIdImage(); if (bll.Check(update)) { WebUtility.AlertAndClose(this, "操作成功"); //AlertAndRedirect("操作成功", "UserIdImgList.aspx?s=1"); } else { WebUtility.AlertAndClose(this, "操作失败"); } }
void Save() { ItemInfo.status = (JuBaoStatusEnum)Convert.ToInt32(this.ddlstatus.SelectedValue); ItemInfo.checktime = DateTime.Now; ItemInfo.check = this.ManageId; ItemInfo.checkremark = txtcheckremark.Text; BLL.JuBao bll = new viviapi.BLL.JuBao(); if (bll.Update(ItemInfo)) { WebUtility.AlertAndClose(this, "操作成功"); //AlertAndRedirect("操作成功", "UserIdImgList.aspx?s=1"); } else { WebUtility.AlertAndClose(this, "操作失败"); } }
void Save() { ItemInfo.reply = this.txtreply.Text; ItemInfo.status = feedbackstatus.已回复; ItemInfo.replytime = DateTime.Now; ItemInfo.replyer = ManageId; feedback bll = new feedback(); if (bll.Update(ItemInfo)) { WebUtility.AlertAndClose(this, "操作成功"); //AlertAndRedirect("操作成功", "UserIdImgList.aspx?s=1"); } else { WebUtility.AlertAndClose(this, "操作失败"); } }