reportViewer1报表打印
来源:互联网 发布:jsp连接sql的方法 编辑:程序博客网 时间:2024/04/30 02:09
if (ds.Tables[0].Rows.Count > 0)
{
//为报表浏览器指定报表文件
reportViewer1.LocalReport.ReportEmbeddedResource = "Report1.rdlc";
//显示报表
reportViewer1.LocalReport.DataSources.Clear();
reportViewer1.LocalReport.ReportPath = "Report1.rdlc";
reportViewer1.LocalReport.DataSources.Clear();
Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource("DataSet1_ep01NEW", ds.Tables[0]);
reportViewer1.LocalReport.DataSources.Add(reportDataSource1);
reportViewer1.LocalReport.Refresh();
reportViewer1.RefreshReport();
//CrystalReport1 report = new CrystalReport1();
//report.SetDataSource(ds);
//Form2 f2 = new Form2();
//f2.SetReportSouce(report);
//f2.Show();
}
- reportViewer1报表打印
- c#reportViewer1报表创建与使用
- 报表打印
- 报表打印
- 打印报表
- 报表打印
- 打印报表
- 报表打印技术-web打印
- 网页报表的打印
- Web 方式打印报表
- web报表打印大全
- 水晶报表的打印
- 利用excel打印报表
- 6.1 报表打印技术
- 水晶报表打印
- --关于报表打印
- 水晶报表 打印补丁
- 打印报表的脚注
- 在TListBox和TComboBox中绘图
- 水晶报表中显示动态图片
- 《Linux命令行和Shell脚本开发圣经》:内容速览
- 高效率创建安全的 Java 应用,第 2 部分
- 定制MOSS列表编辑页面
- reportViewer1报表打印
- [OpenSolaris][kernel]Solaris内核加载设备驱动过程
- const用法
- Delphi中ListBox控件的六种特效
- JS判断字符串是否含有中文
- 《Linux命令行和Shell脚本开发圣经》:关于本书
- 企业开放体系结构,第 1 部分:开放体系结构的体系结构原则
- c#treeview的使用
- 专家介绍脊柱保健操 每天练八分钟可有效防病