/** [シングルトン]インスタンス。削除。 */ public static void DeleteInstance() { if (s_instance != null) { s_instance.Delete(); s_instance = null; } }
protected void rptRule_ItemCommand(object source, RepeaterCommandEventArgs e) { try { if (e.CommandName == "Cancel") { bll.Delete("rule", Convert.ToInt16(e.CommandArgument), CurrentEmployee.EmployeeCode); BindDataList(); } } catch (Exception ex) { JsHelper.AlertOperationFailure(Page, ex); } }