ParamField.ParameterFieldName = key.ToString(); ParamField.CurrentValues = ParamValues; ParamFields.Add(ParamField); } rptViewer.ParameterFieldInfo = ParamFields; } private void BuildReportClassParameters(CrystalDecisions.CrystalReports.Engine.ReportClass rpt, Hashtable ParamTable) { //定义报表类的参数的...
Adding a new field to existing Crystal report from an existing table not already in the report Adding a no follow on asp page Adding an assembly reference to a webconfig Adding Commas to an integer. Adding Currency Format to the Table field Adding double quotes to Web.Config Adding Dropdownli...
3.当把英文和中文放在同一个text object的时,文本框里文本的字符类型会自动变成system,不能指定特定字符. 可以通过填充field内容,将中英文分别放在不同field,然后拖到文本框来实现.麻烦是麻烦了些,不过这样就可以指定不同field内容的字符了. 4.最痛苦的一点就是报表里面没有table object,单靠line object 和box ob...
完成安装后,打开您的 Visual Studio 并从 WPF 应用程序开始,并将您的应用程序重命名为"WpfCrystalReport"。 在解决方案资源管理器中,右键单击您的项目,然后指向Add,然后选择New Item。 在“添加新项”对话框中,从“数据模板”中选择“ADO.NET 实体数据模型” ,然后单击“添加”。这将像这样打开实体数据模型向导...
if (rptState == ReportState.FromSession) crReportDocument = (ReportDocument)Session["cr"]; connectionInfo = new ConnectionInfo(); ParameterField paramField1 = new ParameterField(); ParameterField paramField2 = new ParameterField(); ParameterField paramField3 = new ParameterField(); ...
1.crystalReportViewer 的ReportSource属性指定一个ReceiveCrystalReport.rpt文件 2.添加一个dataset.xsd文件,添加报表要显示的字段信息(一定要与数据库中一致) 3.打开ReceiveCrystalReport.rpt文件,在右边窗口DatabaseFields右键(Database EXpert) 在左边窗口打开ProjectData>ADO.NET Datasets 选择一个DataSet,添加到右边,点...
一对一,点对点的给对应的地方写值,比如模板里面放了个name标识,在程序里把“张三”赋给name,那么...
The Value property for pdvCustPattern is assigned the string "A" and the object is loaded into pvCustPattern through the Add method. Finally, pvCustPattern is assigned to the parameter field via its ApplyCurrentValues method, and the instance of CustomersBasi...
{ copy.AddPage(copy.GetImportedPage(reader1, i)); } reader1.Close(); ms1.Close(); // 加载第二个Crystal Report并导出为PDF ReportDocument report2 = new ReportDocument(); report2.Load(reportPath2); MemoryStream ms2 = (MemoryStream)report2.ExportToStream(ExportFormatType.PortableDocForma...
+ Registry of Components/ActiveX Viewer, Crystal Reports, Report App; the three folders under the folder Crystal Decisions 9.0 I installed the dlls manually and half of them return an error (crdb_fielddef.dll, crtowords_en.dll, crdb_ado.dll, crpe32.dll, ufmanager.dll). Is there any dep...