private void button1_Click(object sender, EventArgs e) { //try //{ db.insert_cash(accountid, decimal.Parse(textBox1.Text)); this.Close(); //} //catch //{ //} }