如何使用打印视图(报告)在数据网格(SQL数据库)中打印选定的行 [英] how can i print selected row in data grid (sql database) with print view (report)

查看:70
本文介绍了如何使用打印视图(报告)在数据网格(SQL数据库)中打印选定的行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要打印存储在sql数据库中的选定datagrid数据,并使用打印预览从数据创建报告?请帮助我



在窗体打印按钮form2.show()不能出现?
谢谢

解决方案

,您可以直接打印datagridview.
请参阅以下
http://vb.net-informations.com/datagridview/vb.net_datagridview_printing.htm [ ^ ]

另一台DataGridView打印机 [在数据网格中打印选定的列和行 [ ^ ]


通过选择列和行进行DataGridView打印 [ ^ ]

我自己解决了
并需要任何帮助
向我发送您的问题


i want print a selected datagrid data that stored in sql database and create report from data with print preview? plz help me



in form print button form2.show() cant appeare?
thanks

解决方案

you can directly print datagridview.
Refer following
http://vb.net-informations.com/datagridview/vb.net_datagridview_printing.htm[^]

Another DataGridView Printer[^]


If you want selected rows and columns to be print check

Printing Selected Columns and Rows in a DataGrid[^]


DataGridView Printing by Selecting Columns and Rows[^]


i solved myself
and any need a help
send your problem for me


这篇关于如何使用打印视图(报告)在数据网格(SQL数据库)中打印选定的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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