首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏DotNet杂记

    WinForm RDLC SubReport Step by step

    \rptDEPT.rdlc"; this.reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("DataSetDEPT \rptDEPT.rdlc"; 24 this.reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("DataSetDEPT += new SubreportProcessingEventHandler(LocalReport_SubreportProcessing); 28 29 this.reportViewer1 .RefreshReport(); 30 } 31 private void LocalReport_SubreportProcessing(object sender, += new SubreportProcessingEventHandler(LocalReport_SubreportProcessing); 62 63 64 65

    61310编辑于 2024-08-14
  • 来自专栏菩提树下的杨过

    "RDLC"报表-参数传递及主从报表

    IsPostBack) { this.ReportViewer1.LocalReport.ReportPath = "rptDEPT.rdlc" ; this.ReportViewer1.LocalReport.DataSources.Add(new ReportDataSource("DS_DEPT", GetDeptData IsPostBack) { this.ReportViewer1.LocalReport.ReportPath = "rptDEPT.rdlc" ; this.ReportViewer1.LocalReport.DataSources.Add(new ReportDataSource .LocalReport.ReportPath = "rptDEPT.rdlc"; this.ReportViewer1.LocalReport.DataSources.Add

    3.9K60发布于 2018-01-23
  • 来自专栏landv

    rdlc

    GetDataSet(); ReportDataSource rds = new ReportDataSource("Orders", ds.Tables[0]); ReportViewer1.LocalReport.DataSources.Clear (); ReportViewer1.LocalReport.DataSources.Add(rds); ReportViewer1.LocalReport.Refresh();

    91630发布于 2020-02-11
  • 来自专栏ASP.NET MVC5 后台权限管理系统

    ASP.NET MVC5+EF6+EasyUI 后台管理系统(31)-MVC使用RDL报表

    }; List<SysSampleModel> ds = m_BLL.GetList(ref pager, queryStr); LocalReport localReport = new LocalReport(); localReport.ReportPath = Server.MapPath("~/Reports/SysSampleReport.rdlc ; ReportDataSource reportDataSource = new ReportDataSource("DataSet1", ds); localReport.DataSources.Add warnings; string[] streams; byte[] renderedBytes; renderedBytes = localReport.Render 没有传说的那么神秘,靠输出来制作报表 List<SysSampleModel> ds把读取到的列表赋予给ds localReport.ReportPath指定报表的路径 ReportDataSource

    2K50发布于 2018-01-16
  • 来自专栏c#Winform自定义控件系列

    ReportViewer不连接数据库,自定义DataSet导出到报表

    = "b"; 9 dt.Rows.Add(dr); 10 } 11 reportViewer1.LocalReport.ReportPath "\\Report1.rdlc"; 12 //指定数据集,数据集名称后为表,不是DataSet类型的数据集 13 this.reportViewer1.LocalReport.DataSources.Clear (); 14 this.reportViewer1.LocalReport.DataSources.Add(new Microsoft.Reporting.WinForms.ReportDataSource message", dt)); //在vs2005中没有找到重命名为messge的方法,这里这样写 // this.reportViewer1.LocalReport.DataSources.Add

    1.5K20发布于 2019-09-11
  • 来自专栏c#Winform自定义控件系列

    RDLC(Reportview)报表直接打印,支持所有浏览器,客户可在linux下浏览使用

    , string dt1SourceName, DataTable dt2, string dt2SourceName,bool isHindeLogo) 31 { 32 LocalReport report = new LocalReport(); 33 report.ReportPath = reportPath;//加上报表的路径 34 report.DataSources.Add m_currentPageIndex = 0; 41 Print(printerName); 42 } 43 44 private void Export(LocalReport param> protected void Button7_Click(object sender, EventArgs e) { this.ReportViewer1.LocalReport.Refresh = this.ReportViewer1.LocalReport.GetTotalPages()) { this.ReportViewer1.CurrentPage

    2.5K30发布于 2019-09-11
  • 来自专栏Danny的专栏

    机房收费系统(VB.NET)——超详细的报表制作过程

    DataSetCheckoutReport" '设置报表数据源实例 rptDateSource.Value = dt '设置嵌入报表的资源名称 reportViewer.LocalReport.ReportEmbeddedResource = "UI.CheckReport.rdlc" '清空报表数据源 reportViewer.LocalReport.DataSources.Clear() '添加报表数据源 reportViewer.LocalReport.DataSources.Add(rptDateSource) '设置报表中的参数集合(注意:这里的参数和报表中的参数大小写和数据类型都要一致 New ReportParameter("userId", strUserID)} '传递报表中的参数集合 reportViewer.LocalReport.SetParameters

    2.7K30发布于 2018-09-13
  • 来自专栏liulun

    报表打印(rdlc)

    p.Values.Add(" "); } } reportViewer1.LocalReport.SetParameters try { printDoc = new StreamPrintDocument(reportViewer1.LocalReport reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); reportViewer1.LocalReport.ReportEmbeddedResource

    1.1K30编辑于 2022-05-09
  • 来自专栏深蓝居

    动态Linq的逻辑与和逻辑或的条件查询

    private void BindData(string q) {     var datas = DbOperation.SearchData(q);     this.ReportViewer1.LocalReport.DataSources.Clear ();     this.ReportViewer1.LocalReport.DataSources.Add(new Microsoft.Reporting.WebForms.ReportDataSource

    2.5K10编辑于 2022-06-16
  • 来自专栏开心的平凡酱

    动态生成RDLC报表

    LocalReport.DataSources这两项。 = null) { reportViewer.Reset(); reportViewer.LocalReport.DataSources.Clear reportDataModel.IsDataGrid) reportViewer.LocalReport.ReportPath = reportDataModel.RDLCReportPath = null) { reportViewer.LocalReport.LoadReportDefinition(reportDataModel.MsDataGrid 所以设置LocalReport.ReportPath换成reportViewer.LocalReport.LoadReportDefinition(reportDataModel.MsDataGrid)

    9.8K50发布于 2020-10-09
  • 来自专栏菩提树下的杨过

    "RDLC报表"速成指南

    李四"); dt.Rows.Add("003", "王五"); //指定加载哪个报表,并填充数据 this.ReportViewer1.LocalReport.ReportPath = "Report_EMP.rdlc"; this.ReportViewer1.LocalReport.DataSources.Add(new ReportDataSource("T_EMP

    4.4K100发布于 2018-01-23
  • 来自专栏马洪彪

    Microsoft ReportViewer 控件类型版本兼容问题及解决方法

    再次运行,错误提示如下: Compiler Error Message: CS0433: The type 'Microsoft.Reporting.WebForms.LocalReport' exists

    3.4K70发布于 2018-04-12
领券