BKI_DichVuMatDat.US.US_GD_HOP_DONG.LayDanhSachHopDongConHieuLuc C# (CSharp) Method

LayDanhSachHopDongConHieuLuc() public method

public LayDanhSachHopDongConHieuLuc ( ) : DataTable
return System.Data.DataTable
        public DataTable LayDanhSachHopDongConHieuLuc()
        {
            CStoredProc v_sp = new CStoredProc("pr_HD_danh_sach_hop_dong_con_hieu_luc_GetAll");
            DataSet v_op_ds = new DataSet();
            v_op_ds.Tables.Add();

            v_sp.fillDataSetByCommand(this, v_op_ds);
            return v_op_ds.Tables[0];
        }

Usage Example

 //Get data
 private DataTable get_danh_sach_hop_dong_con_hieu_luc()
 {
     US_GD_HOP_DONG v_us_hd = new US_GD_HOP_DONG();
     return v_us_hd.LayDanhSachHopDongConHieuLuc();
 }