private void button4_Click(object sender, EventArgs e) { bb.Employee_Id = Convert.ToInt16(textBox1.Text); bb.Emp_Name = textBox2.Text; bb.Email = textBox3.Text; bb.Birthdate = textBox4.Text; bb.Hiredate = textBox5.Text; bb.Salary = textBox6.Text; bb.Country = textBox7.Text; bb.City = textBox8.Text; bb.Region = textBox9.Text; bb.delete_record3(bb.Employee_Id); }