<%@ Register assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %> <%@ Page Language="VB" %> <script runat="server"> Sub Page_Load(sender As Object, e As EventArgs) Dim myDataReport Dim crtableLogoninfo Dim crConnectionInfo myDataReport = new CrystalDecisions.CrystalReports.Engine.ReportDocument() myDataReport.Load("C:\inetpub\wwwroot\agora\CrystalReport1.rpt") Me.CrystalReportViewer1.ReportSource = myDataReport End Sub </script>
yhty wrote:but i want change the database, server etc before call the rpt how can i do that?
yhty wrote:Also other question is possible to change the QUERY also?
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)