Simplificar/limpiar código logos reportes RDLC
This commit is contained in:
@@ -84,15 +84,7 @@ public partial class Bancos_RepComprobaciones : ClsPaginas
|
||||
@params.Add(new ReportParameter("FechaImpresion", DateTime.Now.ToString()));
|
||||
@params.Add(new ReportParameter("Cuenta", DdlCuentas.SelectedItem.Text));
|
||||
|
||||
if (Imagen.Exists)
|
||||
{
|
||||
@params.Add(new ReportParameter("LogoPath", $"file://{Imagen.FullName}"));
|
||||
}
|
||||
else
|
||||
{
|
||||
@params.Add(new ReportParameter("LogoPath", ""));
|
||||
}
|
||||
|
||||
@params.Add(new ReportParameter("LogoPath", Imagen.Exists ? $"file://{Imagen.FullName}" : ""));
|
||||
ImprimirPDF("Empresas/Grales/Formatos/RepComprobaciones.rdlc", DTDatos, @params, "ReporteComprobaciones", Formato);
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user