Exemple #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            emp.SupplierID    = int.Parse(textBox1.Text);
            emp.CompanyName   = textBox2.Text;
            emp.Address       = textBox3.Text;
            emp.ContactPerson = textBox4.Text;
            emp.ContactNo     = textBox5.Text;
            emp.Edit(empID);

            MessageBox.Show("Edit Record Successful!");
            ResetControls();
        }