|
You know you can print WPF, right?
So design your report in WPF, bind, print.
Bob's your proverbial Mother's Brother.
PooperPig - Coming Soon
|
|
|
|
|
Have you ever created a non-trivial WPF document? It's a tremendous memory hog, and leaks like a sieve. I have an in-house report generator that can create HTML or WPF docs. For a 5MB HTML document, the corresponding WPF doc is 400-500MB. Loading that into a viewer control takes several minutes (consuming 1G or more of memory), which brings the entire application to a screeching, page-faulting halt.
The gains from using WPF documents (data binding et al) aren't worth the costs.
Software Zen: delete this;
|
|
|
|
|
Gary Wheeler wrote: Have you ever created a non-trivial WPF document?
Yes
Gary Wheeler wrote: It's a tremendous memory hog,
Is it? I can't say I'd noticed - the WPF app I work on is a memory hog much worse in so many other ways, any WPF overhead is trivial by comparison!
Gary Wheeler wrote: leaks like a sieve.
Interesting - I've been doing some work on fixing memory leaks in our app - none (so far!) has been due to WPF
Gary Wheeler wrote: The gains from using WPF documents (data binding et al) aren't worth the costs.
with the possible exception of the fact that the OP is using WPF so may well have excellent WPF skills, existing forms and data binding that may suffice for his reporting requirements with perhaps a little tweaking.
Personally I'm a fan of exporting data to excel for reporting - let the report users tweak the raw data how they want - and provide templates if necessary
HTML is fine for the pretties, but rubbish if users want to play with the data
PooperPig - Coming Soon
|
|
|
|
|
My reporting class serves two purposes. One, I display the generated HTML in a browser control inside the app. Two, the HTML/XML can be written to a file and used elsewhere. The best example is our 'diagnostic report'. Instead of playing 20 Questions with a customer (or our field service folks), we have them send us a diagnostic report. It takes one click to generate. It's about 5-10MB of HTML that dumps application and Windows information._Maxxx_ wrote: Personally I'm a fan of exporting data to excel for reporting - let the report users tweak the raw data how they want - and provide templates if necessary I'd use that method if I could, but it's beyond the skill set (or interest) for my customers.
Software Zen: delete this;
|
|
|
|
|
We use SSRS, both the RLD server version and the RDLC embedded in the apps, works well, has a WPF viewer (no Silverlight viewer though).
Oh and Roger is correct Crystal Reports were sh*t 20 years ago as well!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Create the reports in Ms Access, it's the easiest and fastest way to create reports and best reporting tool IMO.
|
|
|
|
|
If your reports aren't that complicated, I don't see the problem with generating HTML, as others have suggested.
I have an in-house reporting class that uses this approach. It generates HTML for readable documents and XML for import/export, both from the same report specification. While the HTML isn't fancy, that's only limited by your skill at CSS.
Software Zen: delete this;
|
|
|
|
|
So many choices. Html/css, xml/xslt, word templates and vbscript (or vba if you have an old version). Excel etc.. I use the Office api to generate Word docs in C#.
I may not last forever but the mess I leave behind certainly will.
|
|
|
|
|
I use SQL Reporting and the Perpetuum Silverlight Report Viewer.
I'm very pleased with the results.
|
|
|
|
|
Fast-Report[^]
Used it for Delphi years ago. Still works. In fact, just built about 10 reports with it.
Available for .Net
Solid design, as I am able to run X reports, and collect each report separately into one final result (for preview and/or printing), and with some effort, you can get the page numbering (x of y) to be correct in either mode (each report starts a page 1 of Yn, or each report picks up where the other left off).
And the report "file" (.frp) is actually XML. I was able to tweak this outside of the report generator just fine.
One other great feature: find text works in the preview!
HTH,
Kirk Out!
|
|
|
|
|
|
I have looked at a number of report writers for simple reporting needs. I have been using the Windows Forms Report Viewer Control 2012. This is a local version of SSRS with less features but adequate. The Report Viewer in VS2013 is the same as SSRS with some special new controls. I would recommend the control for simple reports. There is also a web version of the control.
Robert Neal
|
|
|
|
|
I'm coming in late on this discussion, but I was wondering if you looked at all at Windward? www.windward.net. Designer sits in MS office, so document formatting is as simple as using the office tools. Wizards connect to one or more data sources.
|
|
|
|
|
Just got a java update pushed to my computer. By default it was set to install ask.com's browser malware (aka the ask.com toolbar) and change the default search engine to a useless one (aka ask.com).
I suspect the helpdesk is going to be busy the next few days.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Dan Neely wrote: By default it was set to install ask.com's browser malware (aka the ask.com toolbar) and change the default search engine to a useless one (aka ask.com)
Every. Single. Time.
Alberto Brandolini: The amount of energy necessary to refute bullshit is an order of magnitude bigger than to produce it.
|
|
|
|
|
Epic Fail!
What do you get when you cross a joke with a rhetorical question?
---
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
|
|
|
|
|
Write once, spam anywhere - Java.
|
|
|
|
|
Did you ask why?
Seriously, does anyone actually use that toolbar? I remember getting it before as well. It is one of the reasons I have Automatic Java updates turned off.
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
|
|
|
|
|
Nonono. That's why you don't use java.
Wrong is evil and must be defeated. - Jeff Ello
Any organization is like a tree full of monkeys. The monkeys on top look down and see a tree full of smiling faces. The monkeys on the bottom look up and see nothing but assholes.
|
|
|
|
|
Does anyone use any of the stupid toolbars rubbish software tries to install?
All they do to me is disincline me to use the rubbish software or the rubbish from teh company that pays them to install the damn toolbar. Frankly, I don't care if Ask is twice as accurate, helpful, and friendly as Google: I won't use it because they once paid some company to hijack my search engine.
I can bear a grudge with the best o' 'em!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
OriginalGriff wrote: I can bear a grudge with the best o' 'em!
We will try not to hold that against you.
|
|
|
|
|
I'm with you Griff, P me off once and it's almost impossible to win me back. Add in my ridiculous memory (there's a store in Bristol on my kill list from 30 odd years ago) ...
It's probably a personality flaw!
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
|
|
|
|
|
PhilLenoir wrote: It's probably a personality flaw!
Flaw?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
You're not suggesting that we're normal?
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
|
|
|
|
|
Well, I am!
Can't say for you...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|