打印datagridview [英] Print the datagridview

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

问题描述

我在VB C#中的Windows应用程序中开发我的项目,因此我需要编码如何通过c#从数据库打印datagridview的代码,还需要什么程序(逐步)来创建与databse相关的晶状体

Hi i develop my project in windows application in VB C# so i need the coding of how to print the datagridview from database through c# and also whats the procedure(step by step) to create the crystal form for relateed the databse

推荐答案

更好地学习Crystal报表
您可以选择在Crystal Report本身中打印报告
Better you study Crystal report first
you have the option to print the report in crystal report itself


在这里您可以使用四个选项
1.PrintDocumen t
http://csharp.net-informations.com/datagridview/csharp-datagridview-printing.htm [^ ]

2.将datagridview导出到Excel
http://social.msdn.microsoft.com/论坛/en-US/vbgeneral/thread/27a9002e-9d53-440d-9750-e6c64406fdd6 [如何将GridView导出到Excel,渲染单元格,添加艺术字并填充自定义模板 [ ^ ]

3.水晶报告
http://csharp.net-informations.com/crystal-reports/csharp- crystal-reports-subreports.htm [ ^ ]
使用其功能组,图形,交叉表和子报表逐步创建Crystal报表 [ ^ ]

4.第三方库
像这样
在DotNet Framework上打印DataGridView [
Here you can use four option
1.PrintDocument
http://csharp.net-informations.com/datagridview/csharp-datagridview-printing.htm[^]

2.Export datagridview to Excel
http://social.msdn.microsoft.com/forums/en-US/vbgeneral/thread/27a9002e-9d53-440d-9750-e6c64406fdd6[^]
How to export GridView to Excel, render cells, add WordArt, and fill a custom template[^]

3.Crystal Report
http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-subreports.htm[^]
Step by Step Creation of Crystal Report using its Features Group, Graph, Cross-Tab and Sub Report[^]

4.Third party Library
like this
Printing a DataGridView on DotNet Framework[^]


尝试这些链接

使用C#.NET 2003 Windows应用程序的晶体报告 [使用自定义DataGrid打印 [
try These Link

Crystal Reports using C#.NET 2003 Windows Application[^]
Printing with a custom DataGrid[^]


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

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