如何在C#Windows窗体(2.0及更高版本)中打印DataTable? [英] How to Print the DataTable in C# Windows Forms (2.0 and later)?

查看:132
本文介绍了如何在C#Windows窗体(2.0及更高版本)中打印DataTable?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能在不使用Crystal Report的情况下打印数据表?

Is there any possibility to print the data table without using Crystal Report?

推荐答案

是 - 您可以使用报告服务 [ ^ ],或者您可以使用 PrintDocument class [ ^ ]



后者为您提供了完全灵活的打印内容和位置。
Yes - you could use Reporting Services[^], or you could print it manually using the PrintDocument class[^]

The later gives you complete flexibility over what is printed and where.


这篇关于如何在C#Windows窗体(2.0及更高版本)中打印DataTable?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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