/// <summary> /// Sets the value in appropriate link field /// </summary> /// <param name="selectedRow">The selected row.</param> private void SetLinkDetails(F25055PropertyHeaderData.GetPersonalPropertyDetailRow selectedRow) { if (!selectedRow.IsParcelIDNull()) { this.parcelId = selectedRow.ParcelID; } else { this.parcelId = 0; } if (!selectedRow.IsDistrictIDNull()) { this.districtId = selectedRow.DistrictID; } else { this.districtId = 0; } if (!selectedRow.IsOwnerIDNull()) { this.ownerId = selectedRow.OwnerID; } else { this.ownerId = 0; } if (!string.IsNullOrEmpty(selectedRow.ScheduleNumber.ToString())) { this.ScheduleNumberLinkLabel.Text = selectedRow.ScheduleNumber; } else { this.ScheduleNumberLinkLabel.Text = string.Empty; } if (!selectedRow.IsParcelNumberNull()) { this.ParcelReferencelinkLabel.Text = selectedRow.ParcelNumber; } else { this.ParcelReferencelinkLabel.Text = string.Empty; } if (!selectedRow.IsPrimaryOwnerNull()) { this.PrimaryOwnerlinkLabel.Text = selectedRow.PrimaryOwner; } else { this.PrimaryOwnerlinkLabel.Text = string.Empty; } if (!selectedRow.IsDistrictNull()) { this.DistrictlinkLabel.Text = selectedRow.District; } else { this.DistrictlinkLabel.Text = string.Empty; } if (!string.IsNullOrEmpty(selectedRow.ScheduleNumber.ToString())) { this.ScheduleNumberLinkLabel.Text = selectedRow.ScheduleNumber; } else { this.ScheduleNumberLinkLabel.Text = string.Empty; } }