xtrareport

Set programatically the title to the viewer form in XtraReport

不羁的心 提交于 2019-12-06 09:48:15
问题 Does anybody know how to set the title to the form viewer when showing an XtraReport document? The scenario is the following: I have an XtraReport report configured, I show it calling the ShowPreviewDialog method, a viewer form opens and shows the document. I need to set the title to this viewer form and can't find the property or way to accomplish this. Thanks in advance. 回答1: I don't believe that the preview form used by the XtraReport object is exposed in such a way that you could simply

DEVEXPRESS - xtrareport - page break

邮差的信 提交于 2019-12-06 03:19:20
问题 I have a datatable with more than 300 rows. I want each page to present only 10 rows in it. I want to force the xtrareport to break after 10 rows. Any idea on how this is done ? 回答1: You can force a page break on certain conditions. This page has an example at the bottom. Hi Cary, To accomplish this task you can either add a GroupFooter band and set the GroupFooter.PageBreak to AfterBand. or put a XRPageBreak control, handle the Detail.BeforePrint and adjust the visibility of the XRPageBreak

Visual Studio 2017 the connection string could not be found in application settings

独自空忆成欢 提交于 2019-12-05 17:42:20
For connection database and reading data, I am using a dataset which read connection string from Web.config file. Everything working in Visual Studio 2013. But when I opened this project in Visual Studio 2017, I can't configure. It errors: Unable to find connection string xxxx. the connection string could not be found in application settings or the data provider associated with the connection string could not be loaded This is a TableAdapter error. TableAdapters provide communication between your application and a database . Some people alleged that seems The Visual Studio 15.8.x no longer

Set programatically the title to the viewer form in XtraReport

一笑奈何 提交于 2019-12-04 17:13:18
Does anybody know how to set the title to the form viewer when showing an XtraReport document? The scenario is the following: I have an XtraReport report configured, I show it calling the ShowPreviewDialog method, a viewer form opens and shows the document. I need to set the title to this viewer form and can't find the property or way to accomplish this. Thanks in advance. I don't believe that the preview form used by the XtraReport object is exposed in such a way that you could simply set the title. However, it is possible to create your own preview form . That would give you ultimate control

DEVEXPRESS - xtrareport - page break

帅比萌擦擦* 提交于 2019-12-04 07:02:32
I have a datatable with more than 300 rows. I want each page to present only 10 rows in it. I want to force the xtrareport to break after 10 rows. Any idea on how this is done ? You can force a page break on certain conditions. This page has an example at the bottom. Hi Cary, To accomplish this task you can either add a GroupFooter band and set the GroupFooter.PageBreak to AfterBand. or put a XRPageBreak control, handle the Detail.BeforePrint and adjust the visibility of the XRPageBreak as you need. To get processing row you need to use the XtraReport.GetCurrentRow() method. Please try this

How to use SubReport in XtraReport?

旧城冷巷雨未停 提交于 2019-12-02 07:13:41
问题 I have a main Report which consist of (Detail Report) Transaction # Amount Due PaymentType Money Tendered and I have another report which consist of items ordered (Items Report) Transaction # ItemName Quantity Amount Due My question is how to combine the Items Report to the Detail Report My Desired format is Transaction # AmountDue PaymentType MoneyTendered [Detail Report]==> Link through ID 回答1: Have a look here. Creating a master-detail report with the use of subreports requires the

how to pass parameter in devexpress report

点点圈 提交于 2019-12-01 06:35:45
I am using Devexpress XtraReport in Windows application for reporting purpose. I have set a parameter param1 having string as type in my XtraReport1 and using following code to pass parameter. private void button1_Click(object sender, EventArgs e) { XtraReport1 report = new XtraReport1(); report.Parameters["param1"].Value = "kashif"; report.Print(); } when I press button1 the following windows apperas and ask me for param1 values having already displayed "kashif" in it with button "Submit" and "Reset" My Problem is: I don't want this window to get opened when i Press button1 rather I want to

how to pass parameter in devexpress report

女生的网名这么多〃 提交于 2019-12-01 05:22:25
问题 I am using Devexpress XtraReport in Windows application for reporting purpose. I have set a parameter param1 having string as type in my XtraReport1 and using following code to pass parameter. private void button1_Click(object sender, EventArgs e) { XtraReport1 report = new XtraReport1(); report.Parameters["param1"].Value = "kashif"; report.Print(); } when I press button1 the following windows apperas and ask me for param1 values having already displayed "kashif" in it with button "Submit"