Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a report without using a reportviewer
Message
De
20/12/2007 12:46:24
John Thomason
King Richard Veterinary Centre
Leicester, Royaume Uni
 
 
À
20/12/2007 06:18:21
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01276559
Message ID:
01276848
Vues:
25
>Thanks for your reply Kevin. I have tried to push data into the report according the example in one of your other posts and I'm getting a blank label for some reason.
>
>oLabelReport.Database.Tables[0].SetDataSource(oLarcsDataSet.Tables["Labels"]);
>
>I have invested in your book by the way.

>
>Hi, first, thanks for getting the book. ;)
>
>On your example - I'm assuming you mean you have a label on the report, bound to a column in the Labels datatable, and the label is blank on the report. If that's the case, can you verify that right before you set the report datasource, that the relevant row in the table does indeed have a value for that column?
>
>Kevin

I'm sorry I didn't word that very well. I have a "labels" table used to store address details that have been formatted for printing. In the test I am working with, the labels table contains a single row of data which I am trying to push into the report as above. When the report is sent to the printer with printtoprinter() the address label I am trying to print is blank ie no data was passed apparently.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform