private void ValidateSave(ref ArrayList validationErrors) { if (ContactType.Trim() == "") { validationErrors.Add("The Contact Type is required."); } if (LastName.Trim() == "") { validationErrors.Add("The Last Name is required."); } if (FirstName.Trim() == "") { validationErrors.Add("The First Name is required."); } if (Gender.Trim() == "") { validationErrors.Add("The Gender is required."); } }