protected void rptComments_ItemCommand(object source, RepeaterCommandEventArgs e) { try { string comment_id = (string)e.CommandArgument; switch (e.CommandName) { case "EDIT": RedirectTo("~/Backend/Webboard/CommentEdit.aspx" + "?comment_id=" + comment_id); break; case "DEL": WebboardController.DelComment(comment_id, true); break; default: break; } bindTopicDetail(); bindComments(); } catch (Exception exc) { } }