report

C# Winform – Extending solution working for single DataSet to Multiple DataSets for ReportViewer Reports with the help of RDL file

丶灬走出姿态 提交于 2020-01-05 05:41:07
问题 I had this code taken from Reza Aghaei’s solution, which had helped me solve the problem for single DataSet using Microsofts Reportviewer Control on Winforms. Working Part: Calling Form: string sql = "SELECT bk_book_details.id, bk_book_details.book_id, bk_book_details.book_no, bk_book_details.book_name, bk_book_details.edition_id, bk_book_details.condition_id, bk_book_details.publication_year, bk_book_details.price, bk_book_details.purchase_price, bk_book_details.reference_no, bk_book_details

How to count report pages in pre-rendered MorphX report?

谁都会走 提交于 2020-01-04 04:33:28
问题 We are trying to force a morphX report to be an even number of pages in length (so our auto-folding machine can handle the workload properly) and have been unsuccessful in using element.pagesTotal() to do so. How have others gotten a page count for per-entity reports at the element level? (this is dynamics ax 2009) 回答1: Sorry, but pagesTotal is a "magic" function that delivers the result after the report has finished, which is too late for you to emit a newPage . You will have to count

SQL - Need to find duplicate records but EXCLUDE reversed transactions

一笑奈何 提交于 2020-01-03 15:36:18
问题 I have a table of transactions which will occasionally have duplicate entries. If/When an admin finds these duplicate entries, they will reverse the transactions, therefore creating a negative value (but the original duplicate still remains due to regulatory requirements). I'd like to create a SQL query (and use Crystal Reports) to make a report for the admins to easily find duplicate transactions. Due to the mass quantity of transactions, I'd like to make it easier for them by disregarding

XML format specification (DTD, XSD..) for Unit Test Reports

岁酱吖の 提交于 2020-01-03 08:13:12
问题 A lot of tools produces and consumes the same XML File format for Unit Test report. Example (source): <?xml version="1.0" encoding="UTF-8" ?> <testsuite errors="0" failures="0" hostname="hazelnut.osuosl.org" name="net.cars.engine.MoteurTest" tests="6" time="0.021" timestamp="2007-11-02T23:13:50"> <properties> <property name="java.vendor" value="IBM Corporation" /> <property name="os.name" value="Linux" /> <!-- more property tags--> </properties> <testcase classname="net.cars.engine.MoteurTest

devexpress报表控件的使用

假装没事ソ 提交于 2020-01-03 04:30:57
1 设置默认的打印纸张及页边距 选择Report-打开属性窗口,设置默认边距(Margins)和默认纸张(PaperKind)。 2 修 改 Report Preview 的默认工具栏( WinForm ) 一般情况下,Report 的Preview视图中的工具栏不用修改就可满足使用。但是当想修改或添加新的按钮执行自己的方法时就需要修改Preview工具栏了。 2.1 获取默认工具栏 DevExpress.XtraBars. Bar bar = Report.PrintingSystem.PreviewFormEx.PrintBarManager.Bars[0]; PrintingSystem: 当前Report的默认打印组件,用于提供默认的打印预览对话框和打印功能。 可通过PrintingSystem.PreviewForEx.PrintBarManager获取设置打印预览窗口的工具栏和菜单。 获取DevExpress.XtraBars. Bar 之后就可以添加或删除新的BarItem和Menu。 2.2 添加新的按钮 bar.DockStyle = DevExpress.XtraBars. BarDockStyle .Top; DevExpress.XtraBars. BarButtonItem printItem = new DevExpress.XtraBars.

Request failed with HTTP status 401: Unauthorized on second try

巧了我就是萌 提交于 2020-01-03 02:28:22
问题 I have an SSRS report and I am calling this report on my web project. My client side page like below image: My .cs page code is: public reports() { Init += Page_Init; Load += Page_Load; } protected void Page_Init(object sender, System.EventArgs e) { ReportViewer1.ServerReport.ReportServerCredentials = new MyReportServerCredentials(); } [Serializable()] public sealed class MyReportServerCredentials : IReportServerCredentials { public string UserName = ConfigurationManager.AppSettings["rvUser"]

Is it possible to embed javascript into an SSRS Report?

為{幸葍}努か 提交于 2020-01-02 04:54:10
问题 SQL Server reports can embed vbscript and execute client side, but can the same be done with javascript? I think there would be great utility to be able to execute jQuery and CSS manipulation client side to create a more interactive drill down experience. 回答1: May be late reply , but it will help for others http://direit.wordpress.com/2012/07/24/ssrs-use-custom-javascript-to-call-a-report-in-a-new-tabwindow/ 回答2: It sounds to me like Reporting Services is the wrong front end for your job. The

apache poi add table in word document

前提是你 提交于 2020-01-01 17:21:26
问题 I have Java code to create table and some text to word document using Apache POI but it adds table in last document. I want to write some text, then add table and write some text again. Currently it adds table first and last document add 2 test (Hi & Bye) My code : public static void main(String[] args)throws Exception { //Blank Document XWPFDocument document= new XWPFDocument(); //Write the Document in file system FileOutputStream out = new FileOutputStream( new File("create_table.docx")); /

apache poi add table in word document

别等时光非礼了梦想. 提交于 2020-01-01 17:21:06
问题 I have Java code to create table and some text to word document using Apache POI but it adds table in last document. I want to write some text, then add table and write some text again. Currently it adds table first and last document add 2 test (Hi & Bye) My code : public static void main(String[] args)throws Exception { //Blank Document XWPFDocument document= new XWPFDocument(); //Write the Document in file system FileOutputStream out = new FileOutputStream( new File("create_table.docx")); /

Amazon MWS: How to specify the language of _GET_MERCHANT_LISTINGS_DATA_

不羁的心 提交于 2020-01-01 14:23:23
问题 Recently I tried to get all Amazon listings from multiple marketplaces with ReportType : _GET_MERCHANT_LISTINGS_DATA_ . For MarketplaceIds A1PA6795UKMFR9 (DE) A1RKKUPIHCS9HS (ES) A1F83G8C2ARO7P (UK) the response columns were as the following: item-name item-description listing-id seller-sku price quantity open-date image-url item-is-marketplace product-id-type zshop-shipping-fee item-note item-condition zshop-category1 zshop-browse-path zshop-storefront- feature asin1 asin2 asin3 will-ship