Example #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            {
                try
                {
                    objetoc.Insertar(textBox1.Text, textBox2.Text, textBox3.Text);
                    MessageBox.Show("Registro completado ");
                }

                catch (Exception ex)
                {
                    MessageBox.Show("No se pudo registrar " + ex);
                }

                Inicio ss = new Inicio();
                ss.Show();
                this.Hide();
            }
        }