Esempio n. 1
0
 /** [シングルトン]インスタンス。削除。
  */
 public static void DeleteInstance()
 {
     if (s_instance != null)
     {
         s_instance.Delete();
         s_instance = null;
     }
 }
Esempio n. 2
0
    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);
        }
    }