使用asp.net在页眉中的页面号 [英] Page no in header using asp.net
问题描述
我的报告有9页。前2页正常的详细信息和datagrid占用的其余页面的详细信息列表。数据网格有近100个数据。
现在我想在页面顶部显示页面页面,打印时打印时间如下
第1页 - 第1页,共9页
第2页 - 第2页,共9页
第3页 - 第3页,共9页
第4页 - 第4页,共9页
通常我们开始打印时可能会自动出现。但我想用代码来做。
i想要每隔30行分页,页面信息如上所述
任何想法好友..
I have a report which has 9 pages . first 2 pages normal details and rest of the pages occupied by datagrid with list of details .The datagrid has nearly 100 datas.
Now i wanna showcase page no on top of the page, when ever page breaks while printing like
1st page - page 1 of 9
2st page - page 2 of 9
3st page - page 3 of 9
4st page - page 4 of 9
Normally when we start printing it may come automatically .But i wanna do it in code .
i wanna page break every 30 rows with page information on header as mentioned above
Any idea buddies..
推荐答案
我认为这些链接会对你有所帮助。
http://forums.asp.net/t/219506.aspx?How+to+put+in+page+breaks+and+headers+footers+when+printing+and+aspx+page 一> [ ^ ]
使用-css.aspx -page号码-而打印的网页-http://www.nullskull.com/q/10436822/print-page-numbers-while-printing-webpage-using-css.aspx [ ^ ]
i think these links will help you.
http://forums.asp.net/t/219506.aspx?How+to+put+in+page+breaks+and+headers+footers+when+printing+and+aspx+page[^]
http://www.nullskull.com/q/10436822/print-page-numbers-while-printing-webpage-using-css.aspx[^]
看到这个.. :)
使用SQL Server存储过程在ASP.Net GridView中进行自定义分页 [ ^ ]
使用SQL Server 2005在任何ASP.NET网格中进行分页 [ ^ ]
SQL SERVER - 在各种版本的SQL Server中进行行偏移和分页的技巧 [ ^ ] < br $> b $ b
使用SQL脚本进行高效分页 [ ^ ]
ASP.NET 2.0与SQL Server 2005中的自定义分页 [ ^ ]
see this.. :)
Custom Paging in ASP.Net GridView using SQL Server Stored Procedure[^]
Paging in any ASP.NET grid using SQL Server 2005[^]
SQL SERVER – Tricks for Row Offset and Paging in Various Versions of SQL Server[^]
Efficient paging using SQL script[^]
Custom Paging in ASP.NET 2.0 with SQL Server 2005[^]
这篇关于使用asp.net在页眉中的页面号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!