Torna al Thread

With crConnectionInfo .DatabaseName = "calCond" .ServerName = varPub.LeggiServer .IntegratedSecurity = True End With 'ciclo per ogni tabella del report ed associo ad ognuna di esse la connectioninfo ed il logoninfo crTables = varPub.crReportDocument.Database.Tables For Each crTable In crTables crTableLogOnInfo = New CrystalDecisions.Shared.TableLogOnInfo crTableLogOnInfo = crTable.LogOnInfo crTableLogOnInfo.ConnectionInfo = crConnectionInfo crTable.ApplyLogOnInfo(crTableLogOnInfo) Next myCrystalReportViewer.ReportSource = varPub.crReportDocument
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5