Reporting Services-在网址中传递LIKE语句

亚历山大·科斯塔

我试图通过过滤器以使用.NET中的Reporting Services生成报告。

我正在尝试传递LIKE声明,例如

filter=(ordNumber LIKE '%52%')

所以我跑

reportUrl = serverData.rptOrder_Path
                .replace("#format#", "PDF")
                .replace("#sort#", "ordNumber")
                .replace("#filter#", currentFilter);

            window.open(reportUrl);

其中currentFilter是我的like语句

问题

我想要的是:

Command=Render&Rs:Format=PDF&sort=ordNumber&filter=(ordNumber LIKE '%52%')

我得到什么:

Command=Render&Rs:Format=PDF&sort=ordNumber&filter=(ordNumber%20LIKE%20%27R%%27)

我知道浏览器会自动将%20替换为空格但会干扰我的'%52%'

关于如何正确处理的任何想法?

干杯

亚历山大·科斯塔

解决了

将我的链接传递到服务器端,并使用C#进行以下工作:

var encodedFilter = Url.Encode(whereString);

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

在Reporting Services中从CSV删除空值

来自分类Dev

SQL Server Reporting Services网址参数不起作用

来自分类Dev

使用C#从SQL Server Reporting Services中读取

来自分类Dev

Reporting Services报表仅在Internet Explorer中挂起

来自分类Dev

Reporting Services报表仅在Internet Explorer中挂起

来自分类Dev

在Firefox中以DisplayName命名Reporting Services编码字符

来自分类Dev

拿到 SQL Server Reporting Services中存储过程返回的行数

来自分类Dev

较新的SQL Server Reporting Services中的全文理由

来自分类Dev

使用C#从SQL Server Reporting Services中读取

来自分类Dev

何时使用Microsoft Reporting Services

来自分类Dev

Reporting Services 表重复页

来自分类Dev

如何通过Powershell将多值参数传递给Reporting Services报告

来自分类Dev

Concat将详细数据分组到Reporting Services中的一行中

来自分类Dev

如何通过Reporting Services中“选择”列表的选择值设置短语

来自分类Dev

Reporting Services报告中的一系列径向规控制

来自分类Dev

Reporting Services中的简单SProc调用不返回任何数据,但查询有效

来自分类Dev

从Reporting Services中删除内容管理器时,会产生什么影响吗?

来自分类Dev

Visual Studio 2012 SSRS Reporting Services中的复制和粘贴格式

来自分类Dev

如何在MS Dynamics CRM中查找/查询Reporting Services SQL数据库

来自分类Dev

Reporting Services 中详细信息的可见性单元格

来自分类Dev

Reporting Services 2008-401:未经授权

来自分类Dev

Reporting Services 2008-401:未经授权

来自分类Dev

通过邮政编码映射Reporting Services

来自分类Dev

SQL存储过程在SQL Server Management Studio中工作正常,但在Reporting Services(SSRS)中工作不正常

来自分类Dev

如何使用 SQL Reporting Services 2014 中的表达式对字段中的负数或正数进行筛选和求和

来自分类Dev

如何在新选项卡中从 Reporting Services 报表中打开数据库存储的 URL

来自分类Dev

如果Reporting Services 2008 R2中的值为NULL,如何格式化单元格的颜色?

来自分类Dev

SSRS Microsoft Reporting Services-由于用户权限而在报表创建过程中可能出现问题?

来自分类Dev

具有自定义查看器的SQL Server 2012 Reporting Services,在页面更改中丢失了排序

Related 相关文章

  1. 1

    在Reporting Services中从CSV删除空值

  2. 2

    SQL Server Reporting Services网址参数不起作用

  3. 3

    使用C#从SQL Server Reporting Services中读取

  4. 4

    Reporting Services报表仅在Internet Explorer中挂起

  5. 5

    Reporting Services报表仅在Internet Explorer中挂起

  6. 6

    在Firefox中以DisplayName命名Reporting Services编码字符

  7. 7

    拿到 SQL Server Reporting Services中存储过程返回的行数

  8. 8

    较新的SQL Server Reporting Services中的全文理由

  9. 9

    使用C#从SQL Server Reporting Services中读取

  10. 10

    何时使用Microsoft Reporting Services

  11. 11

    Reporting Services 表重复页

  12. 12

    如何通过Powershell将多值参数传递给Reporting Services报告

  13. 13

    Concat将详细数据分组到Reporting Services中的一行中

  14. 14

    如何通过Reporting Services中“选择”列表的选择值设置短语

  15. 15

    Reporting Services报告中的一系列径向规控制

  16. 16

    Reporting Services中的简单SProc调用不返回任何数据,但查询有效

  17. 17

    从Reporting Services中删除内容管理器时,会产生什么影响吗?

  18. 18

    Visual Studio 2012 SSRS Reporting Services中的复制和粘贴格式

  19. 19

    如何在MS Dynamics CRM中查找/查询Reporting Services SQL数据库

  20. 20

    Reporting Services 中详细信息的可见性单元格

  21. 21

    Reporting Services 2008-401:未经授权

  22. 22

    Reporting Services 2008-401:未经授权

  23. 23

    通过邮政编码映射Reporting Services

  24. 24

    SQL存储过程在SQL Server Management Studio中工作正常,但在Reporting Services(SSRS)中工作不正常

  25. 25

    如何使用 SQL Reporting Services 2014 中的表达式对字段中的负数或正数进行筛选和求和

  26. 26

    如何在新选项卡中从 Reporting Services 报表中打开数据库存储的 URL

  27. 27

    如果Reporting Services 2008 R2中的值为NULL,如何格式化单元格的颜色?

  28. 28

    SSRS Microsoft Reporting Services-由于用户权限而在报表创建过程中可能出现问题?

  29. 29

    具有自定义查看器的SQL Server 2012 Reporting Services,在页面更改中丢失了排序

热门标签

归档