打印DataGridView控件 [英] Printing DataGridView control

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

问题描述

我正在使用C#2.0和SQL Server 2005开发Windows窗体应用程序。在应用程序中,我使用了一些dataGridview控件,可以从数据库中检索数据。现在我想打印dataGridview控件的选定行和列。我不知道该怎么做???请有人帮忙。

解决方案

这些正是你需要的。



1. 在DotNet Framework上打印DataGridView [ ^ ]。

2. < a href =http://www.codeproject.com/Articles/16670/DataGridView-Printing-by-Selecting-Columns-and-Row>通过选择列和行进行DataGridView打印 [ ^ ]。

I am developing a Windows Form Application by using C# 2.0 and SQL Server 2005. In the application I used some dataGridview controls in which data may be retrieved from the database. Now I want to print the selected rows and column of the dataGridview control. I don''t know how to do this ??? Please someone help.

解决方案

These are what exactly you need.

1. Printing a DataGridView on DotNet Framework[^].
2. DataGridView Printing by Selecting Columns and Rows[^].


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

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