private void ReporteClientesConDeudas_Load(object sender, EventArgs e)
        {
            RepositorioBase <Clientes> repo   = new RepositorioBase <Clientes>();
            ClientesConDeuda           listaf = new ClientesConDeuda();

            listaf.SetDataSource(ListaClientes);

            ClientesReportViewer.ReportSource = listaf;
            ClientesReportViewer.Refresh();
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                ClientesReportViewer.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Local;
                ClientesReportViewer.Reset();
                ClientesReportViewer.LocalReport.ReportPath = Server.MapPath(@"~\Reportes\ListadoClientes.rdlc");

                ClientesReportViewer.LocalReport.DataSources.Clear();
            }
        }
Пример #3
0
        private void Imprimirbutton_Click(object sender, EventArgs e)
        {
            if (listado.Count == 0)
            {
                MessageBox.Show("No hay datos para imprimir");
                return;
            }

            ClientesReportViewer clientesReportViewer = new ClientesReportViewer(listado);

            clientesReportViewer.ShowDialog();
        }
Пример #4
0
        private void ReporteClientes_Load(object sender, EventArgs e)
        {
            this.ClientesReportViewer.RefreshReport();

            ClientesReportViewer.Reset();
            ClientesReportViewer.ProcessingMode = ProcessingMode.Local;

            ClientesReportViewer.LocalReport.ReportPath = @"C:\Users\Yinet Jaquez\Desktop\ProyectoFinalBeautyC\ProyectoFinalBeautyC\UI\Reportes\Clientes.rdlc";

            ReportDataSource source = new ReportDataSource("ClienteDataSet", ClientesBll.GetLista());

            ClientesReportViewer.LocalReport.DataSources.Add(source);
            this.ClientesReportViewer.RefreshReport();
        }
Пример #5
0
        private void Imprimirbutton_Click(object sender, EventArgs e)
        {
            ClientesReportViewer viewer = new ClientesReportViewer(listado);

            viewer.ShowDialog();
        }