3.当把英文和中文放在同一个text object的时,文本框里文本的字符类型会自动变成system,不能指定特定字符. 可以通过填充field内容,将中英文分别放在不同field,然后拖到文本框来实现.麻烦是麻烦了些,不过这样就可以指定不同field内容的字符了. 4.最痛苦的一点就是报表里面没有table object,单靠line object 和box ob...
ParamField.ParameterFieldName = key.ToString(); ParamField.CurrentValues = ParamValues; ParamFields.Add(ParamField); } rptViewer.ParameterFieldInfo = ParamFields; } private void BuildReportClassParameters(CrystalDecisions.CrystalReports.Engine.ReportClass rpt, Hashtable ParamTable) { //定义报表类的参数的...
(1)在功能表上選擇[Database]-[Add Database To Report] (2)出現Data Explorer視窗後,點擊[More Data Sources]-[Active Data]-[Active Data(Field Definitions Only)],如下圖 (3)出現Select Data Source視窗後,點選[Browse]按鈕,畫面會出現Select Data Definition File視窗,此時選擇TTX檔案 (4)將TTX檔加進...
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...
{ 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.PortableDocForm...
问Crystal Report错误-无法加载文件或程序集EN通常出现这种问题有以下三种原因: 第一:环境变量配置不...
I have created a report, which fetches data from the SQL server. The report displays well, until I created a new field in the SQL database with data which is pulled onto the crystal report. Unfortunately, this new field on the crystal report does not display any value, though I could ...
paramFields.Add(paramField)' 将参数字段集合放入查看器控件。crystalReportViewer1.ParameterFieldInfo = paramFields crystalreportviewer1.reportsource = "c:/reports/my report.rpt"[c#]// 声明将参数传递给 //查看器控件所需的变量。ParameterFields paramFields = new ParameterFields ();ParameterField...
pvCustPattern through the Add method. Finally, pvCustPattern is assigned to the parameter field via its ApplyCurrentValues method, and the instance of CustomersBasic is assigned to the report viewer's ReportSource property. While the code may seem a little co...
Learn more about the Microsoft.VisualStudio.Imaging.KnownImageIds.CrystalReport in the Microsoft.VisualStudio.Imaging namespace.