示例#1
0
 private void insertbutton_Click(object sender, EventArgs e)
 {
     try
     {
         db.insert_cd(account_id, Bankname.Text, decimal.Parse(principle.Text.ToString()), decimal.Parse(interestrate.Text.ToString()), startdate.Value, enddate.Value);
         this.Close();
     }
     catch
     {
         label6.Visible = true;
     }
 }