Report Script: Get Field that is not in Report v2: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 167: Line 167:


//Skip if ProjNo is empty value, and avoid repeating in the list
//Skip if ProjNo is empty value, and avoid repeating in the list
if (string.IsNullOrEmpty(projNo) != DBNull.Value && !projNoSqlList.Contains(projNo))
if (!string.IsNullOrEmpty(projNo) && !projNoSqlList.Contains(projNo))
{
{
//Add ProjNo to ProjNoSqlList
//Add ProjNo to ProjNoSqlList