private void button3_Click(object sender, EventArgs e) { bb.Category_Id = Convert.ToInt16(textBox1.Text); bb.Category_Name = textBox2.Text; bb.Category_Desc = textBox3.Text; bb.insert_record1(); }