private void btn_Submit_Click(object sender, EventArgs e) { // code xu ly sua thong tin ncc.ID_Supplier = int.Parse(textBoxMaNCC.Text); ncc.Name = textBoxTenNCC.Text; ncc.Address = textBoxDiaChi.Text; ncc.Phone = textBoxSDT.Text; ncc.Email = textBoxEmail.Text; ctr.Update(ncc); // dong formz Close(); }