private void us_object2grid(US_V_GD_QUYET_DINH i_us, int i_grid_row)
        {
            DataRow v_dr = (DataRow)m_fg.Rows[i_grid_row].UserData;

            i_us.Me2DataRow(v_dr);
            m_obj_trans.DataRow2GridRow(v_dr, i_grid_row);
        }
        private void grid2us_object(US_V_GD_QUYET_DINH i_us, int i_grid_row)
        {
            DataRow v_dr;

            v_dr = (DataRow)m_fg.Rows[i_grid_row].UserData;
            m_obj_trans.GridRow2DataRow(i_grid_row, v_dr);
            i_us.DataRow2Me(v_dr);
        }
        private void delete_v_gd_quyet_dinh()
        {
            if (!CGridUtils.IsThere_Any_NonFixed_Row(m_fg))
            {
                return;
            }
            if (!CGridUtils.isValid_NonFixed_RowIndex(m_fg, m_fg.Row))
            {
                return;
            }
            if (BaseMessages.askUser_DataCouldBeDeleted(8) != BaseMessages.IsDataCouldBeDeleted.CouldBeDeleted)
            {
                return;
            }
            US_V_GD_QUYET_DINH         v_us       = new US_V_GD_QUYET_DINH();
            US_GD_QUYET_DINH_PHAP_NHAN v_us_qd_pn = new US_GD_QUYET_DINH_PHAP_NHAN();
            DS_GD_QUYET_DINH_PHAP_NHAN v_ds_qd_pn = new DS_GD_QUYET_DINH_PHAP_NHAN();

            grid2us_object(v_us, m_fg.Row);
            try
            {
                v_us.BeginTransaction();
                // Xoá Quyết định - Pháp nhân
                v_us_qd_pn.FillDatasetByIdQuyetDinh(v_ds_qd_pn, v_us.dcID);
                v_us_qd_pn.DeleteByID(v_us.dcID);

                // Xoá Pháp nhân
                v_us.delete_by_id(v_us.dcID);
                v_us.CommitTransaction();
                m_fg.Rows.Remove(m_fg.Row);
            }
            catch (Exception v_e)
            {
                v_us.Rollback();
                CDBExceptionHandler v_objErrHandler = new CDBExceptionHandler(v_e,
                                                                              new CDBClientDBExceptionInterpret());
                v_objErrHandler.showErrorMessage();
            }
        }
        private DS_V_GD_QUYET_DINH load_data_2_ds_v_gd_quyet_dinh()
        {
            US_V_GD_QUYET_DINH v_us = new US_V_GD_QUYET_DINH();
            DS_V_GD_QUYET_DINH v_ds = new DS_V_GD_QUYET_DINH();

            v_us.FillDataset(v_ds);
            return v_ds;
        }
 private DataTable load_danh_sach_quyet_dinh()
 {
     US_V_GD_QUYET_DINH v_us = new US_V_GD_QUYET_DINH();
     DS_V_GD_QUYET_DINH v_ds = new DS_V_GD_QUYET_DINH();
     v_us.FillDataset(v_ds);
     return v_ds.Tables[0];
 }
        private void us_2_form(decimal ip_dc_id_gd_qd)
        {
            US_V_GD_QUYET_DINH v_us = new US_V_GD_QUYET_DINH(ip_dc_id_gd_qd);

            m_sle_loai_quyet_dinh.EditValue = v_us.dcID_LOAI_QD;
            m_txt_ma_qd.Text = v_us.strMA_QUYET_DINH;
            m_dat_ngay_co_hieu_luc.EditValue = v_us.datNGAY_CO_HIEU_LUC;
            m_dat_ngay_het_hieu_luc.EditValue = v_us.datNGAY_HET_HIEU_LUC;
            m_dat_ngay_ky.EditValue = v_us.datNGAY_KY;
            m_txt_nguoi_ky.Text = v_us.strNGUOI_KY;
            m_txt_noi_dung.Text = v_us.strNOI_DUNG;
            m_txt_link.Text = v_us.strLINK;
        }
 private DataSet load_data_2_ds_v_gd_quyet_dinh()
 {
     US_V_GD_QUYET_DINH v_us = new US_V_GD_QUYET_DINH();
     DS_V_GD_QUYET_DINH v_ds = new DS_V_GD_QUYET_DINH();
     v_us.FillDataset(v_ds);
     //v_us.FillDatasetWithTableName(v_ds, "V_GD_QUYET_DINH");
     return v_ds;
 }
        private void load_data_2_grid()
        {
            CHRMCommon.make_stt(m_grv_quyet_dinh);
            US_V_GD_QUYET_DINH v_us = new US_V_GD_QUYET_DINH();
            DS_V_GD_QUYET_DINH v_ds = new DS_V_GD_QUYET_DINH();
            v_us.FillDataset(v_ds);

            m_grc_quyet_dinh.DataSource = v_ds.Tables[0];
        }