Don\'t forget to divide the interest rate <InterestRateListBox>.Text value by 10
ID: 3548328 • Letter: D
Question
Don't forget to divide the interest rate <InterestRateListBox>.Text value by 100.
Other than what is already generated by the windows form application the code below is mine
private void textBox1_TextChanged(object sender, EventArgs e)
{
string thedata = textBox1.Text;
try
{
double x = Convert.ToInt64(thedata);
MessageBox.Show("Data Entered is Okay");
}
catch (Exception ex)//exception is the class
{
string S = "Invalid Integer" + Environment.NewLine + ex.Message;
MessageBox.Show(S, "Error",
MessageBoxButtons.AbortRetryIgnore,
MessageBoxIcon.Exclamation,
MessageBoxDefaultButton.Button1);//ex.Message was replaced with S
}
}
Explanation / Answer
Your work wl be done by today
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.