开发者

How to print the datagridview results in vb.net?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜