private void btnsalvar_Click(object sender, EventArgs e) { estagiarioTableAdapter estagiario = new estagiarioTableAdapter(); estagiario.Insert(txtnome.Text, txtra.Text, txtsenha.Text); MessageBox.Show("Estagiário cadastrado com sucesso"); Limpar(); }