我想将 SSRS 报告字段作为查询字符串参数发送到我的应用程序页面。为此,我做了以下步骤:
要在报告中添加超链接:
In report design view, right-click the text box I want to add a link and then click Properties.
1.In the Properties dialog box, click Action.
2.Select Go to URL. An additional section appears in the dialog box for this option.
3.In Select URL, in expression that evaluates to a URL, in pasted my pages url and concatenated it with field value in the below manner.
http://localhost:64970/InvoiceManagement.aspx?a=Fields!INVOICE_NUMBER.Value
Click OK.
但是在运行报告并单击超链接时,它很好地重定向了我,但是在查询字符串中我得到了Fields!INVOICE_NUMBER.Value,它不会被它的值(数据库值是 int)取代,它应该是发票号。
我哪里错了..