programming we consider all important topic for knowledge about controls,web Services, JSON, Ajax, database, and interview related Question. In this and sql server tutorial blog we give many examples of jquery as like How Play YouTube Video in Your Website by URL, How to Play YouTube Videos in by using Jquery , Jquery Change div background on mouseover in , JQuery UI Datepicker (Calendar) etc.

Monday, April 13, 2015

Retrieving current page number and total pages from Crystal Report

Current page number and total pages from Crystal Report:

To show Current page / Total No of page: Go To Your Solution Field Explorer->Special Fields From here Drag "Page N of M" To you Crystal Report.

That's it. It will work for u. No need to do any extra coding for it.

CrystalReportViewers ViewInfo object, as below:

CrystalDecisions.Web.ViewInfo vi = crViewer.ViewInfo;

pagenum.Text = vi.PageNumber + " of " + vi.LastPageNumber;

Other Crystal Report related Post:

No comments:

Post a Comment