How to Display Page Number in Report Body of SSRS 2008 R2?

后端 未结 5 882
逝去的感伤
逝去的感伤 2020-12-06 07:01

I think a lot of developers are facing the problem of try to display page numbers by using SSRS 2008 R2.

There is an alternative solution <

5条回答
  •  有刺的猬
    2020-12-06 07:32

    Here is working expression:

    =Microsoft.VisualBasic.Interaction.Switch(Parameters!LANGUAGE.Value = "en-US", "Page " + code.PageNumber().ToString() + " of " + code.TotalPages().ToString(), Parameters!LANGUAGE.Value = "es-MX", "Hoja " + code.PageNumber().ToString() + " de " + code.TotalPages().ToString(), 1 = 1, "Page " +code.PageNumber().ToString() + " of " + code.TotalPages().ToString())

提交回复
热议问题