private decimal find_id_gd_luong_cung(decimal ip_dc_id_nhan_vien)
 {
     //US_DUNG_CHUNG v_us = new US_DUNG_CHUNG();
     //DataSet v_ds = new DataSet();
     //v_ds.Tables.Add(new DataTable());
     //throw new Exception("Sua lai khong dung FillDataSetWithTableName nua nhe");
     // v_us.FillDatasetWithTableName(v_ds, "GD_LUONG_CUNG");
     US_GD_LUONG_CUNG v_us = new US_GD_LUONG_CUNG();
     DS_GD_LUONG_CUNG v_ds = new DS_GD_LUONG_CUNG();
     v_us.FillDataset(v_ds);
     string v_str_filter = "ID_NHAN_VIEN = " + ip_dc_id_nhan_vien + " AND DA_XOA = 'N'";
     DataRow[] v_dr = v_ds.Tables[0].Select(v_str_filter);
     if (v_dr.Count() == 0)
     {
         return -1;
     }
     else
     {
         return CIPConvert.ToDecimal(v_dr.First()["ID"].ToString());
     }
 }
 private decimal find_id_gd_luong_cung(decimal ip_dc_id_nhan_vien)
 {
     US_GD_LUONG_CUNG v_us = new US_GD_LUONG_CUNG();
     DS_GD_LUONG_CUNG v_ds = new DS_GD_LUONG_CUNG();
     v_us.FillDataset(v_ds);
     string v_str_filter = "ID_NHAN_VIEN = " + ip_dc_id_nhan_vien + " AND DA_XOA = 'N'";
     DataRow[] v_dr = v_ds.Tables[0].Select(v_str_filter);
     if (v_dr.Count() == 0)
     {
         return -1;
     }
     else
     {
         return CIPConvert.ToDecimal(v_dr.First()["ID"].ToString());
     }
 }