Example #1
0
 private void button2_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.Update_record2(bb.Customer_Id);
 }