62,268
社区成员
发帖
与我相关
我的任务
分享//给报表指定数据源
this.CrystalReportSource1.ReportDocument.SetDataSource(dtSource);
this.CrystalReportSource1.Reflash();<body>
<form id="form1" runat="server">
<div>
<div>
<table style="width: 800px">
<tr>
<td style="width: 800px">
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True"
DisplayGroupTree="False" HasPrintButton="True" HasToggleGroupTreeButton="False"
Height="790px" ReportSourceID="CrystalReportSource1" Width="1275px" />
</td>
</tr>
<tr>
<td style="width: 800px; text-align: center">
</td>
</tr>
</table>
</div>
</div>
<CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
<Report FileName="CryChargeInfo.rpt">
</Report>
</CR:CrystalReportSource>
</form>
</body>