/* * UPDATE FUNCTIONS */ private void btnUpdateActor_Click(object sender, EventArgs e) { var actor = (Actor)dgvActors.CurrentRow.DataBoundItem; frmActorInfo ia = new frmActorInfo(actor); ia.Show(); }
/* * CREATE FUNCTIONS */ private void btnCreateActor_Click(object sender, EventArgs e) { frmActorInfo fai = new frmActorInfo(); fai.Show(); }