Cystal Report in VB NET

martedì 17 gennaio 2006 - 23.18

max1850 Profilo | Junior Member

Salve!
USo VB .NET 2003.
Ho creato un report tramite la procedura guidata di Crystal Report (tramite il menù Progetto--> Aggiungi nuovo elemento). Ora, finito il wizard mi ha creato un file .rpt.
Vorrei far partire la stampa tramite l'evento click di un bottone. Come richiamo questo report?

Grazie

Brainkiller Profilo | Guru

>Salve!
>USo VB .NET 2003.
>Ho creato un report tramite la procedura guidata di Crystal Report
>(tramite il menù Progetto-->Aggiungi nuovo elemento). Ora,
>finito il wizard mi ha creato un file .rpt.
>Vorrei far partire la stampa tramite l'evento click di un bottone.
> Come richiamo questo report?

Immagino avrai un CrystalReportViewer all'interno della Form.
Una volta caricato un REport chiama il metodo PrintReport()

crystalreportviewer1.PrintReport()

ciao

David De Giacomi
Microsoft MVP
http://blogs.dotnethell.it/david/
Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?

Dopo esserti registrato potrai chiedere
aiuto sul nostro Forum oppure aiutare gli altri

Consulta le Stanze disponibili.

Registrati ora !
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5