无法打印网格视图内容 [英] unable to print the grid view contents

查看:36
本文介绍了无法打印网格视图内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设计了包含gridview的asp.net网页.你能告诉我我在打印gridview内容时面临的问题吗?打印预览时显示6页.当我打印时,它将只打印一页.甚至我都将页面范围设置为全部.

解决方案


说您要在哪里打印.例如在Excel,Pdf或Crystal报表中.

如果使用数据集或数据表填充网格视图,则可以直接从数据集或数据表中打印内容.


i designed asp.net webpage containing gridview. could u please tell where me i am facing problem in printing gridview contents. while print preview it shows 6 pages. when i print it will print just 1 page. even I set the page range as All.

解决方案

Hi
Say where you are printing . For ex whether in a Excel,Pdf or Crystal report.

If you are using dataset or datatable to fill the gridview you can directly print the contents from dataset or datable .


这篇关于无法打印网格视图内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆