I have a validation code as follows:
if ((Info.LENDER_MAIL_STATE == "") || (Info.LENDER_MAIL_CITY == "") || (Info.LENDER_NAME == "") || (Info.LENDER_MAIL_ZIPCODE == 0) || (Info.LENDER_NAME_ID == 0) || (Info.LENDER_TYPE_CODE == "") || (Info.RECORD_ID_CODE == "") || (Info.RECORD_TYPE == "") || (Info.PORPERTY_FIPSCODE == 0) || (Info.RECORDING_PAGE_NUMBER == 0) || (Info.RECORD_ID_CODE == "") || (Info.RECORDING_BOOK_NUMBER == "") || (Info.CONCRNT_MTG_LOAN_TYPE == "") || (Info.DTBORROWER == null) || (Info.RECORDING_DATE == DateTime.MinValue) || (Info.PROPERTY_STATE == "") || (Info.PROPERTY_COUNTY == "") || (Info.PROPERTY_CITY == "") || (Info.PROPERTY_STREET_ADDRESS == "") || (Info.PROPERTY_ZIP == 0) || (Info.DOC_TYPECODE == ""))
{
return false;
}
In this code any of the value is empty it will return false. I need to find out which value is null. Please help. We can achieve this by if else(individual check) that I know, but i need to know the value using this if itself