Torna al Thread

Dim report As New ReportDocument() Dim Credenziali As New TableLogOnInfo Credenziali.ConnectionInfo.ServerName = "Localhost" Credenziali.ConnectionInfo.DatabaseName = "DB_GA_PROVA" Credenziali.ConnectionInfo.UserID = "sa" Credenziali.ConnectionInfo.Password = "sisinfo" CrystalReportViewer1.LogOnInfo.Add(Credenziali) report.Load(Server.MapPath(str_stampa), OpenReportMethod.OpenReportByDefault) Dim ItemReport As IEnumerable(Of IStampeIstat) = getsource_Arrivi_Partenze(Albergo.CodAlbergo, CDate(dalgiorno), CDate(algiorno)) report.SetDataSource(ItemReport) report.SetParameterValue("Data1", dalgiorno) : report.SetParameterValue("Data2", algiorno) CrystalReportViewer1.ReportSource = report
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5