protected void rptRuningJobs_ItemCommand(object source, RepeaterCommandEventArgs e) { switch (e.CommandName.ToLower()) { case "deletejob": string jobKey = (string)e.CommandArgument; sm.DeleteJob(jobKey); Response.Redirect("/"); break; } }
protected void rptRuningJobs_ItemCommand(object source, RepeaterCommandEventArgs e) { switch (e.CommandName.ToLower()) { case "deletejob": string jobKey = (string)e.CommandArgument; sm.DeleteJob(jobKey); Response.Redirect("/"); break; } }