Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 2556

Passing Parameters from .NET to CR2013

$
0
0

We upgraded from CR8.5 to CR2013 using VS2012 and cannot use the old way of passing parameters to the report. The way we passed them before was to use this code:

 

<asp:HyperLinkField DataNavigateUrlFields="LoadNbr"

DataNavigateUrlFormatString="~/reports/rmssalesreceiptnoprice.rpt?Prompt0={0}"

DataTextField="LoadNbr" HeaderText="Invoices No Price" SortExpression="LoadNbr" />

 

The users would choose a load number from a grid view list from SQL Server. We would like to have the same action to view a report using the new CrystalReportViewer in .NET

 

How can we translate the old way to the new way and pass the SQL load number to the viewer without having to type it into the parameter field?


Viewing all articles
Browse latest Browse all 2556

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>