예제 #1
0
 private void insertbutton_Click_1(object sender, EventArgs e)
 {
     try
     {
         db.insert_bond(account_id, Bondname.Text, bondtype.Text, decimal.Parse(riskvalue.Text.ToString()), decimal.Parse(principle.Text.ToString()), decimal.Parse(interestrate.Text.ToString()), startdate.Value, enddate.Value);
         this.Close();
     }
     catch
     {
         label8.Visible = true;
     }
 }