Private Sub btnCalc_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalc.Click
If txtLoanAmount <= 100000000 Then txtLoanAmount.Text
Else
MessageBox.Show("Missing Amount", "Please Enter Amount of Loan", MessageBoxButtons.RetryCancel, MessageBoxIcon.Information)
End if
If txtInterestRate <= 100 Then txtInterestRate.Text
Else
MessageBox.Show("Missing Interest", "Please Enter Fixed Interest Rate", MessageBoxButtons.RetryCancel, MessageBoxIcon.Information)
End If
Will I need an if statement for my cboYears drop down?
extra info, I'm trying to validate this combo box has a selection on a button click.
Thanks
This post has been edited by mitchstokes225: 10 November 2012 - 11:43 AM

New Topic/Question
Reply




MultiQuote






|