加上下面一句就能解决页码显示问题.

rpViewer.PageCountMode = PageCountMode.Actual;