protected void lnkRefuse_Click(object sender, EventArgs arg) { try { adviceHelper.RefuseAdvice(AdviceID, fckContent.Value.Trim()); ProccessMsg.Redirect(1, Advice.TypeID, "操作成功!当前信息不在受理范围内!"); } catch (System.Threading.ThreadAbortException ex) { } catch (Exception ex) { ProccessMsg.Redirect(0, Advice.TypeID, "应用程序错误!" + ex.Message); } }
protected void lnkRefuse_Click(object sender, EventArgs e) { try { foreach (string id in GetSelectedIDs()) { adviceHelper.RefuseAdvice(id, String.Empty); } DataBind(); Messages.ShowMessage("操作成功!"); } catch (Exception ex) { Messages.ShowError("应用程序错误!错误原因:" + ex.Message); } }