Example #1
0
        private void btnRefresh_Click(object sender, EventArgs e)
        {
            DaoRepVentas daoRepVentas = new DaoRepVentas();
            DataSet      dsData       = daoRepVentas.getVentasAnual(dtpFecha.Value.ToShortDateString());

            refreshData();
            dgvData.DataSource = dsData.Tables[0];
        }