如何在studio 2012中使用studio2008的报表视图 [英] how to use report view for studio2008 in studio 2012

查看:95
本文介绍了如何在studio 2012中使用studio2008的报表视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助mi

如何使用报告视图9.0.0.0.0 studio 2008 at studio 2012 11.0.0.0.0

< rsweb:ReportViewer ID = ReportViewer1runat =serverFont-Names =Verdana

字体大小=8pt高度=400px宽度=732px>

< ; localreport reportpath = Report1.rdlc >

将数据源与GT;

将rsweb:reportdatasource的DataSourceID = ObjectDataSource1 的xmlns:rsweb = #未知 > ;

Name =WellDataSet_well_book_data/>


please help mi
how to use report view 9.0.0.0.0 studio 2008 at studio 2012 11.0.0.0.0
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana"
Font-Size="8pt" Height="400px" Width="732px">
<localreport reportpath="Report1.rdlc">
<datasources>
<rsweb:reportdatasource datasourceid="ObjectDataSource1" xmlns:rsweb="#unknown">
Name="WellDataSet_well_book_data" />

推荐答案

try
 {
     ReportDocument report = new ReportDocument();
     report.Load(reportName);
     report.SetDataSource(dt);
     CrystalReportViewer1.ReportSource = report;
     CrystalReportViewer1.RefreshReport();
     Session["CR_Session"] = report;
 }
 catch (Exception ex)
 {
     throw;            }


这篇关于如何在studio 2012中使用studio2008的报表视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆