开发者

How to print the datagridview results in vb.net?

开发者 https://www.devze.com 2023-03-31 19:29 出处:网络
I have a datagridview on a form and a print button below it...i want that when i click the print button the print dialog should appear and the datagrid results should be printed...How can it be done??

I have a datagridview on a form and a print button below it...i want that when i click the print button the print dialog should appear and the datagrid results should be printed...How can it be done??Can any开发者_如何学编程one tell me??


<a href="JavaScript:window.print();">Print this page</a>

You might also want to investigate using separate stylesheets for printing and screen by using the media attribute. This will provide better printing results.

0

精彩评论

暂无评论...
验证码 换一张
取 消