如何打印gridview内容? [英] How can I print gridview content?

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

问题描述




如何打印printg孔页面的gridview内容?



我在网格视图中使用分页所以我想打印所有页面中的所有记录



我为每一列提供了另一个复选框,用户可以打开或删除列,这样当他打印gridview时他只会打印他让他们成真的专栏





我的页面有很多控件(文本框,标签和gridview),如个人信息或简历: name,old,addres ....和grid view让我们说他在其中工作的公司。



我想要打印信息



请帮助我为我的项目提供它。



谢谢

解决方案

你有很多要求:-)

尝试下面的文章打印网格视图

打印功能dView控件 [ ^ ]

首先尝试打印整个网格视图,如文章所述,然后尝试逐个实现您的其他要求。代码项目不是代码编写服务满足您的要求。尝试自己,如果遇到麻烦/异常,请来这里提问并不要忘记添加有关您尝试过的内容和停留位置的详细信息。祝你好运!

您可以通过 Google [ ^ ]

在CodeProject中搜索 [ ^ ]


请参考.. :)



C# DataGridView Printing [ ^ ]



Print ASP.Net GridView Data Rows在C#VB.Net中使用JavaScript [ ^ ]



C#代码仅从gridview打印数据 [ ^ ]



打印DataGridView [ ^ ]



使用C#VB.NET打印Asp.net Gridview数据JavaScript [ ^ ]



如何在数据库中插入数据并使用C#在Windows窗体应用程序中打印网格视图数据 [ ^

Hi
How can I print gridview content intead of printg hole page?

I use paging in grid view so I want print all records in all pages

Another thing I have checkbox for each column, user who apper or disappear columns so when he prints the gridview he will print only columns that he make them true


And I have page have many controls(textbox, labels and gridview) like personal information or cv: name , old, addres.... and grid view let us say companies that he works in it.

I want print the informations

please help I need it for my project.

Thank you

解决方案

You have many requirements :-)
try below article for printing grid view
Print functionality in ASP.Net GridView control[^]
first try to print whole grid view as article explains, then try to implement your other requirements one by one. code project is not code writing service for your requirements. try your self and if you have trouble/exceptions, come here and ask question and don't forget to add details about what you tried and where you stuck. good luck!
You can find many resource by Google[^]
search in CodeProject[^]


refer this.. :)

C# DataGridView Printing[^]

Print ASP.Net GridView Data Rows using JavaScript in C# VB.Net[^]

C# code to print the data from gridview only[^]

Printing of DataGridView[^]

Print Asp.net Gridview Data using C# VB.NET JavaScript[^]

How to Insert Data in Database and Print the Grid View Data in Windows Forms Application using C#[^]


这篇关于如何打印gridview内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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