Exemplo n.º 1
0
 private void button3_Click(object sender, EventArgs e)
 {
     bb.Product_Id   = Convert.ToInt16(textBox1.Text);
     bb.Product_Name = textBox2.Text;
     bb.Category_Id  = Convert.ToInt16(textBox3.Text);
     bb.UnitPrice    = Convert.ToInt16(textBox4.Text);
     bb.UnitInstock  = Convert.ToInt16(textBox5);
     bb.insert_record();
 }