【答者有分】各位在WinForm 中用的打印方案是是什么? 在WINFORM 开发中,我用的打印方案是Webbrowser 构造成HTML 模板来打印,不过遇到IE6,IE7...等等情况,用起来不那么顺。请问各位有什么好的方案?或者说一下你们现在用的是什么方案。有什么好的和成熟的方案可发给我。我多多给分。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 crystal rdlc 2种报表 自定义报表rdlc,水晶报表fastreport等第三方控件http://www.codeproject.com/KB/miscctrl/ListViewPrinter.aspx 我从来不用任何第三方报表和第三方组件,包括水晶报表,因为它们打印出来的东西太丑,.Net没出来前一直用GDI函数,现在一直只用GDI+ http://www.cnblogs.com/ATGO/archive/2010/05/23/1742136.html Vs提供有打印控件啊PrintDialogPrintDocumentPrintPreviewControl... ... 打印报表:http://www.codeproject.com/KB/printing/dareport.aspx打印DataGridView:http://www.codeproject.com/KB/printing/datagridviewprinter.aspx总之CodeProject上面有很多Demo了... http://www.codeproject.com/多看一下,应该会找到你想要的 Winform 打印一般使用第三方打印套件 Winform的打印,你通过Webbrowser来处理?有点奇怪好像。看具体的打印需求了,例如,你是要打印winfrom界面上每个控件的内容,还是要打印显示在datagridview中的数据?下面是一些参考资料,希望对你有帮助:注意codeproject上的文章,配有源代码的,需要你注册为网站用户后,才可以下载!Print HTML in C# with or without the web browser control and the print dialogPrinting a Form in a report fashion (release 2.2)A component that prints any control, including ListViews, TreeViews, DataGridViews, and FormsDataGridView Print/Print Preview Solution - Part IDataGridView Print/Print Preview Solution - Part II 将自已要打印的东西画在图上,printdocument类打印这张图,灵活,复杂!别人的东西再好都有缺陷,自已的则是能最大限度的满足自已特定的需求。当然,如果需要比较大众化就用一般点第三方控件。 LINQ 一对多查询问题,高手帮忙解决,谢谢 帮我解释下,这些对象,谢谢 让控件动起来 再求一个正则表达式 请教远程文件管理维护 求C#测试网站是否挂掉的代码 C#引用原先COM下开发的SDK DLL出现的问题,高分向大家求教! Asprise OCR 1无法识别问题,有没有朋友有这方面经验 C# 文件关联 win8 Remoting 深层问题请教 streamreader问题 手动指定rdlc文件的问题!
rdlc 2种报表
rdlc,水晶报表
fastreport等第三方控件
http://www.codeproject.com/KB/miscctrl/ListViewPrinter.aspx
.Net没出来前一直用GDI函数,现在一直只用GDI+
PrintDocument
PrintPreviewControl
... ...
打印DataGridView:http://www.codeproject.com/KB/printing/datagridviewprinter.aspx总之CodeProject上面有很多Demo了...
多看一下,应该会找到你想要的
下面是一些参考资料,希望对你有帮助:注意codeproject上的文章,配有源代码的,需要你注册为网站用户后,才可以下载!
Print HTML in C# with or without the web browser control and the print dialogPrinting a Form in a report fashion (release 2.2)
A component that prints any control, including ListViews, TreeViews, DataGridViews, and FormsDataGridView Print/Print Preview Solution - Part I
DataGridView Print/Print Preview Solution - Part II
用一般点第三方控件。