コード例 #1
0
    private void DeleteDataGroup(string groupcode)
    {
        GeneralDAL _dal = null;
        Hashtable  _ht  = null;

        try
        {
            _dal          = new GeneralDAL();
            _ht           = new Hashtable();
            _ht["p_code"] = groupcode;
            _dal.Delete(TABLE_NAME, _ht);
        }
        catch (Exception ex)
        {
            Shared.ShowErrorDialog(this, ex);
        }
    }
コード例 #2
0
ファイル: mastermenulist.aspx.cs プロジェクト: bpfi/SLIK-BPFI
    private void DeleteDataMenu(string id)
    {
        GeneralDAL _dal = null;
        Hashtable  _ht  = null;

        try
        {
            _dal = new GeneralDAL();
            _ht  = new Hashtable();

            _ht["p_id"] = id;

            _dal.Delete(TABLE_MENU, _ht);
        }
        catch (Exception ex)
        {
            Shared.ShowErrorDialog(this, ex);
        }
    }
コード例 #3
0
    private void DeleteDataColletion(string trx_no)
    {
        GeneralDAL _dal = null;
        Hashtable  _ht  = null;

        try
        {
            _dal = new GeneralDAL();
            _ht  = new Hashtable();

            _ht["p_trx_no"] = trx_no;

            _dal.Delete(TABLE_NAME, _ht);
        }
        catch (Exception ex)
        {
            Shared.ShowErrorDialog(this, ex);
        }
    }
コード例 #4
0
    private void DeleteDataResults(string id)
    {
        GeneralDAL _dal = null;
        Hashtable  _ht  = null;

        try
        {
            _dal = new GeneralDAL();
            _ht  = new Hashtable();

            _ht["p_id"] = int.Parse(id);

            _dal.Delete(TABLE_NAME_RESULTS, _ht);
        }
        catch (Exception ex)
        {
            Shared.ShowErrorDialog(this, ex);
        }
    }
コード例 #5
0
    private void DeleteApplicationCustomer(string no)
    {
        GeneralDAL _dal = null;
        Hashtable  _ht  = null;

        try
        {
            _dal = new GeneralDAL();
            _ht  = new Hashtable();

            _ht["p_application_no"] = no;

            _dal.Delete(TABLE_NAME, _ht);
        }
        catch (Exception ex)
        {
            Shared.ShowErrorDialog(this, ex);
        }
    }
コード例 #6
0
ファイル: masterusermain.aspx.cs プロジェクト: bpfi/SLIK-BPFI
    private void DeleteUsergroupsec(string uid, string groupcode)
    {
        GeneralDAL _dal = null;
        Hashtable  _ht  = null;

        try
        {
            _dal = new GeneralDAL();
            _ht  = new Hashtable();

            _ht["p_uid"]        = uid;
            _ht["p_group_code"] = groupcode;

            _dal.Delete(TABLE_NAME_GROUPSEC, _ht);
        }
        catch (Exception ex)
        {
            Shared.ShowErrorDialog(this, ex);
        }
    }
コード例 #7
0
    private void DeleteEmployeeDevice(string empcode, string id)
    {
        GeneralDAL _dal = null;
        Hashtable  _ht  = null;

        try
        {
            _dal = new GeneralDAL();
            _ht  = new Hashtable();

            _ht["p_emp_code"] = empcode;
            _ht["p_id"]       = id;

            _dal.Delete(TABLE_NAME_C, _ht);
        }
        catch (Exception ex)
        {
            Shared.ShowErrorDialog(this, ex);
        }
    }
コード例 #8
0
    private void DeleteDataEmployeeBranch(string empcode, string branchcode)
    {
        GeneralDAL _dal = null;
        Hashtable  _ht  = null;

        try
        {
            _dal = new GeneralDAL();
            _ht  = new Hashtable();

            _ht["p_emp_code"]    = empcode;
            _ht["p_branch_code"] = branchcode;

            _dal.Delete(TABLE_NAME_A, _ht);
        }
        catch (Exception ex)
        {
            Shared.ShowErrorDialog(this, ex);
        }
    }