mercredi 18 avril 2012 19:10
We have a need to print out all records that are returned and displayed within a listview or listbox.
The first few examples i found printed the actual control and its current position within the app on the page. So since the control was farely small, the amount of records that are displayed is just part of the entire list, you have to scroll down to see the rest of the records.
So the latest example was to use a listview, populate it with the datatable values and print it. But to do so, i have to show the listview which we dont want. If you chose print detail list on this page, there is only 1 list that it should be printing.
So my question is how can i take the records returned in the datatable and print them out in a styled manner..is there a control i can bind to that can be used as the source to send to the printer?
Toutes les réponses
vendredi 20 avril 2012 11:17
u can go for the Reporting Tools to Print the Collections of Objects.
Using Reporting Tools u can have more flexibility such as layout design support, styling, condition formatting ...
there are many Reporting Tools that can Handle Objects as Datasource
One of the Tool is Crystal Reports for Visual Studio.
From Visual Studio 2010 onwards u have to download it separately.
Hope this will help u
- Marqué comme réponse Sheldon _XiaoModerator mardi 1 mai 2012 08:08
mardi 1 mai 2012 08:08Modérateur
I am marking your issue as "Answered", if you have new findings about your issue, please let me know.
MSDN Community Support | Feedback to us
Please remember to mark the replies as answers if they help and unmark them if they provide no help.