BKI_DichVuMatDat.US.US_GD_LUONG_CUNG.IsNGAY_KET_THUCNull C# (CSharp) Method

IsNGAY_KET_THUCNull() public method

public IsNGAY_KET_THUCNull ( ) : bool
return bool
        public bool IsNGAY_KET_THUCNull()
        {
            return pm_objDR.IsNull("NGAY_KET_THUC");
        }

Usage Example

 private void form_2_us_luong_cung(US_GD_LUONG_CUNG ip_us)
 {
     if (m_e_form_mode == DataEntryFormMode.UpdateDataState)
     {
         ip_us.dcID = CIPConvert.ToDecimal(m_us_gd_luong_cung.dcID);
         ip_us.datNGAY_SUA = DateTime.Now.Date;
         //nguoi sua
         ip_us.strNGUOI_SUA = CAppContext_201.getCurrentUserName();
     }
     else
     {
         ip_us.datNGAY_LAP = DateTime.Now.Date;
         //nguoi lap
         ip_us.strDA_XOA = "N";
         ip_us.strNGUOI_LAP = CAppContext_201.getCurrentUserName();
     }
     ip_us.dcID_NHAN_VIEN = CIPConvert.ToDecimal(m_sle_chon_nhan_vien.EditValue);
     ip_us.dcSO_TIEN = CIPConvert.ToDecimal(m_txt_so_tien.Text.Trim());
     ip_us.datNGAY_BAT_DAU = m_dat_ngay_bat_dau.DateTime.Date;
     if (m_dat_ngay_ket_thuc.EditValue == null)
     {
         ip_us.IsNGAY_KET_THUCNull();
     }
     else
     {
         ip_us.datNGAY_KET_THUC = m_dat_ngay_ket_thuc.DateTime.Date;
     }
     ip_us.strGHI_CHU = m_txt_ghi_chu.Text.Trim();
 }