private void button3_Click(object sender, EventArgs e) { bb.Customer_Id = Convert.ToInt16(textBox1.Text); bb.Cus_Address = textBox2.Text; bb.Contact_No = textBox3.Text; bb.Gender = textBox4.Text; bb.City = textBox5.Text; bb.Country = textBox6.Text; bb.Region = textBox7.Text; bb.PostalCode = textBox8.Text; bb.insert_record2(); }