private void btnventfuncion_Click(object sender, EventArgs e) { CapaNegocio.Reportes Reportes = new CapaNegocio.Reportes(); DataTable dtReportes = new DataTable(); dtReportes = Reportes.CargarVentasFuncion(Int32.Parse(txtidcartelera.Text)); dtgReportes.DataSource = dtReportes; }