void rptSystemLog_ItemCommand(object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e) { if (e.CommandName == "deleteitem") { SystemLog.Delete(int.Parse(e.CommandArgument.ToString())); WebUtils.SetupRedirect(this, SiteRoot + "/Admin/ServerLog.aspx"); } }