Example #1
0
        private void btnAgregar_Click(object sender, EventArgs e)
        {
            try
            {
                BDbase.GuardarVentas(txtcodigo.Text, txtfechaventa.Text);
                MessageBox.Show("Venta Guardado en la BO");
                Limpiar();
            }

            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }