Torna al Thread

Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim mioreport As New ReportDocument() Dim tabella As New DataTable() mioreport.Load(Application.StartupPath + "\CrystalReport1.rpt") tabella = New DataTable() tabella.ReadXml(Application.StartupPath + "\Bancomat.xml") mioreport.Database.Tables(0).SetDataSource(tabella) CrystalReportViewer1.ReportSource = mioreport ' CrystalReportViewer1.Zoom(125) End Sub
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5