private void button5_Click(object sender, EventArgs e) { { Form f = new Expenditure_Type(); f.Show(); } }
private void button5_Click(object sender, EventArgs e) { //int id = (int)dataGridView1.SelectedRows[0].Cells[0].Value; String ids = textBox5.Text; int id = int.Parse(ids); exdb.delete(id); exdb.selectall(); this.Close(); Form f = new Expenditure_Type(); f.Show(); }