// show tax deductible percentage data in controls private void ShowTaxDeductibleManual(GiftBatchTDSAGiftDetailRow ARow) { if (ARow.IsTaxDeductiblePctNull()) { txtDeductiblePercentage.NumberValueDecimal = 0; } else { txtDeductiblePercentage.NumberValueDecimal = ARow.TaxDeductiblePct; } if (ARow.IsTaxDeductibleAccountCodeNull()) { txtDeductibleAccount.Text = string.Empty; } else { txtDeductibleAccount.Text = ARow.TaxDeductibleAccountCode; } EnableOrDiasbleTaxDeductibilityPct(ARow.TaxDeductible); }
// show tax deductible percentage data in controls private void ShowTaxDeductibleManual(GiftBatchTDSAGiftDetailRow ARow) { if (ARow.IsTaxDeductiblePctNull()) { txtDeductiblePercentage.NumberValueDecimal = 0; } else { txtDeductiblePercentage.NumberValueDecimal = ARow.TaxDeductiblePct; } if (ARow.IsTaxDeductibleAccountCodeNull()) { txtDeductibleAccount.Text = string.Empty; } else { txtDeductibleAccount.Text = ARow.TaxDeductibleAccountCode; } EnableOrDiasbleTaxDeductibilityPct(ARow.TaxDeductible); }