protected void Page_Load(object sender, EventArgs e)
        {
            BLL.RepositorioBase <Depositos> repositorio = new BLL.RepositorioBase <Depositos>();
            DepositoReportViewer.ProcessingMode = ProcessingMode.Local;
            DepositoReportViewer.Reset();

            DepositoReportViewer.LocalReport.ReportPath = Server.MapPath(@"~\Reports\ReportDepositos.rdlc");
            DepositoReportViewer.LocalReport.DataSources.Clear();
            DepositoReportViewer.LocalReport.DataSources.Add(new ReportDataSource("Depositos", repositorio.GetList(x => true)));
            DepositoReportViewer.LocalReport.Refresh();
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         DepositoReportViewer.ProcessingMode = ProcessingMode.Local;
         DepositoReportViewer.Reset();
         DepositoReportViewer.LocalReport.ReportPath = Server.MapPath(@"~\Reportes\ListadoDepositos.rdlc");
         DepositoReportViewer.LocalReport.DataSources.Clear();
         DepositoReportViewer.LocalReport.DataSources.Add(new ReportDataSource("Depositos", BLL.Funciones.FDepositos(filtro)));
         DepositoReportViewer.LocalReport.Refresh();
     }
 }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                DepositoReportViewer.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Local;
                DepositoReportViewer.Reset();

                DepositoReportViewer.LocalReport.ReportPath = Server.MapPath(@"../Reportes/DepositoReporte.rdlc");

                DepositoReportViewer.LocalReport.DataSources.Clear();

                DepositoReportViewer.LocalReport.DataSources.Add(new ReportDataSource("Depositos", repositorio.GetList(c => true)));
                DepositoReportViewer.LocalReport.Refresh();
            }
        }