如何在C#.net中打印Datagridview [英] How To Print Datagridview in C#.net

查看:67
本文介绍了如何在C#.net中打印Datagridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在Visual Studio中使用C#.net,我想问问是否有人可以通过提供代码,函数,类或dll文件来帮助我,这些文件可以轻松使用即可打印datagrid视图.
谢谢
最好的问候.
Baher

解决方案

可能对您有用.


我对以下关键字做了一个简单的Google:使用C#打印Datagrid"

我得到了:代码:打印数据网格(Visual C#) [ ^ ]

对不起,我之前搜索过这些代码,但是它们却无法正常工作..当我执行此功能时,空白页面(没有数据,但我的datagrid包含了数据)被保存在xps文件中.无法工作...
谢谢.


Hi everybody,

I am using C#.net in Visual studio and I want to ask if anyone can help me by giving a code,function,class or dll file which can print a datagrid view with simple use..

Thanks
Best Regards.
Baher

解决方案

This might be useful to you.


I did a simple Google on the keywords: "Print Datagrid in C#"

I got this:Code: Printing a DataGrid (Visual C#)[^]


Sorry I searched before and I took this codes but they never work..when i execute this function a blank page (without data but my datagrid contained data)is saved in xps file..so this solution can''t work...
thanks.


这篇关于如何在C#.net中打印Datagridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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