dev_mashfiq #31

Open
Mashfiq wants to merge 8 commits from dev_mashfiq into devqc
Showing only changes of commit 634c30f368 - Show all commits

View File

@ -120,7 +120,7 @@ namespace HRM.DA
object obj =
tc.ExecuteScalar("Select SALARYPROCESSID from SALARYPROCESS where SALARYMONTH=%d AND PAYROLLTYPEID=%n",
dSMonth, payrollTypeID);
if (obj == DBNull.Value) return false;
if (obj == DBNull.Value || obj == null) return false;
else bShowInDesktop=true;
return bShowInDesktop;
}