+1 800 256 3608 (toll-free in North America) or +49 7531 90 60 10| service@combit.com

Printing WPF/C# LL18


(Guest) #1

I am new to WPF programming / C #. I’m trying to create a printed invoice by checking the appropriate preview. In MFC I have no problems, but in WPF I just can not produce anything. I wish I could create a print without a datasource. How can I do?
Thank you.


(Guest) #2

Why would you want to print a report without a datasource? You’d need to supply “some kind” of data anyway. For fixed identifiers, I usually declare a class that has the required members and pass a List of instances of this class as data source. That’s just as easy as it gets .

HTH
G.