reporting

C# backgroundWorker reports string?

社会主义新天地 提交于 2019-12-01 03:18:35
How can I report a string (like "now searching file. . .", "found selection. . .") back to my windows.form from a backgroundWorker as well as a percentage. Additionally, I have a large class that contains the method I want to run in the backgroundWorker_Work. I can call it by Class_method(); but i am then unable to report my percentage done or anything from the called class, only from the backgroundWorker_Work method. Thanks! I'm assuming WCF also have the method public void ReportProgress(int percentProgress, Object userState); So just use the userState to report the string. private void

Missing Business Intelligence Project type in Visual Studio 2010

情到浓时终转凉″ 提交于 2019-12-01 01:29:49
问题 When I use visual studio 2008 and do a new project I can select the type of project as Business Intelligence project. From here I can select a report server project. I noticed that with visual studio 2010, this does not exist any longer. Tried doing some googling about it and got this: http://social.msdn.microsoft.com/Forums/en-CA/vsreportcontrols/thread/f2d272b1-a7f5-41b7-9cb8-a0958c192d31 But it may be outdated. I know this stuff usually comes from SQL Server not Visual Studio, but I have

How to generate/print reports on the client side

我的梦境 提交于 2019-12-01 01:04:17
I'd like to know, if is it possible to generate and print a report ( using jasper report for example) on the client side? They would have to have jasper report and java installed. I suppose you could push an applet to the client with all the necessary jars and stuff. Why would you do this? This should be do with every (most) reporting solutions. You need a Java client that run as applet or Java applet or you render as PDF and print with the PDF viewer. 来源: https://stackoverflow.com/questions/4691441/how-to-generate-print-reports-on-the-client-side

TFS build duration report by agent

不打扰是莪最后的温柔 提交于 2019-12-01 00:06:28
I'm trying to build a report to show the relative efficiency of my various build agents and having trouble getting the info I need out of the tool. What I'd like to have is a simple grid with the following columns: Build Number Build Definition Build Agent Build Status Build Start Time Build Duration Which would let me do something like chart the duration of successful builds of a given build definition on agent1 against the same build definition on agent2 through agentN. How would I go about this? My initial intention was to point you to TFS OLAP Cube & describe how you could retrieve what

C# backgroundWorker reports string?

可紊 提交于 2019-11-30 23:44:40
问题 How can I report a string (like "now searching file. . .", "found selection. . .") back to my windows.form from a backgroundWorker as well as a percentage. Additionally, I have a large class that contains the method I want to run in the backgroundWorker_Work. I can call it by Class_method(); but i am then unable to report my percentage done or anything from the called class, only from the backgroundWorker_Work method. Thanks! 回答1: I'm assuming WCF also have the method public void

How to generate PDF reports that spans multiple pages horizontally

放肆的年华 提交于 2019-11-30 22:41:20
I have to generate PDF reports with many (defined at runtime) columns. These reports may span multiple pages horizontally when user selects many fields to show. I'm using DynamicJasper and could successfully generate dynamic reports when all the columns fit in one page. When they don't, report is cropped and only a few columns are shown. I've tried changing the page width in runtime and report is not cropped, but it can't be printed correctly because page size is not standard. Which is the right way to generate this kind of reports? The goal is to split big tables in multiple pages if they

Differentiating Backend vs. Frontend Purchases in Magento

蹲街弑〆低调 提交于 2019-11-30 20:14:05
Is there a way to tell if an order was placed through the frontend of the web site or entered through the administrative panel? Renon Stewart By default, Magento only stores the remote_ip in table sales_flat_order for an order that is place by customer (while admin order is set to null). So try this: if(!empty($order->getRemoteIp()){ //place online } else{ // place by admin } See Programmatically differentiate between admin & customer-placed orders clockworkgeek Every order has a store_id , when entered through administraction it will either be 0 (for 'admin' store) or null. if ($order-

Export to single HTML with embedded images using Jasper Report

此生再无相见时 提交于 2019-11-30 20:07:46
Can Jasper Report export to single HTML with embedded images? I have output of jasper reports as single Excel file, PDF, RTF. But multiplay HTML files. It trouble for me to manage not single report file, but many files and folders in HTML case. I don't think that jasper reports has built in support for this, so you'd have to roll out your own implementation. You can use this technique to embed them images. <img src="data:image/png;base64,iVBORw0K... " /> So first you'd use java's xml parser to find all the image tags in the html http://www.mkyong.com/tutorials/java-xml-tutorials/ . Then you'd

SSRS: Showing the correct execution time on a two page report?

穿精又带淫゛_ 提交于 2019-11-30 19:59:47
I'm just wondering how I can show the correct execution time on a report? Until recently I had been using the following in the footer of my reports as a label expression: ="Execution Time: " + IIf(System.DateTime.Now.Subtract(Globals!ExecutionTime).TotalSeconds < 1, "0 seconds", ( IIf(System.DateTime.Now.Subtract(Globals!ExecutionTime).Hours > 0, System.DateTime.Now.Subtract(Globals!ExecutionTime).Hours & " hour(s), ", "") + IIf(System.DateTime.Now.Subtract(Globals!ExecutionTime).Minutes > 0, System.DateTime.Now.Subtract(Globals!ExecutionTime).Minutes & " minute(s), ", "") + IIf(System

The type or namespace name 'Reporting' does not exist in the namespace 'Microsoft'

我怕爱的太早我们不能终老 提交于 2019-11-30 16:49:21
I simply get the following error: The type or namespace name 'Reporting' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) after adding this to my code: protected global::Microsoft.Reporting.WebForms.ReportViewer ReportViewer1; I've seen some solutions saying I must add some assemblies. but none of them worked. here is an example: <add assembly="Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>