Simplificar referencias a logos en RDLC y más limpieza de código
This commit is contained in:
@@ -206,7 +206,7 @@ Partial Class Contabilidad_RepEdoResultados2
|
||||
Dim lrds As New List(Of ReportDataSource)
|
||||
Dim StrFiltro As New StringBuilder
|
||||
|
||||
Dim Imagen As New System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta))
|
||||
Dim Imagen As New System.IO.FileInfo($"{UsuarioActual.Empresa.Ruta}/Logo.png")
|
||||
|
||||
params.Add(New ReportParameter("LogoPath", If(Imagen.Exists, $"file://{Imagen.FullName}", "")))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user