C# DataGrid打印

来源:百度知道 编辑:UC知道 时间:2024/05/22 16:32:28
VS2005里,怎样实现打印DataGrid中的数据?上网找了些资料,都满足不了我的需求.

2005中没有DataGrid而是GridView

不知道你说的具体意思,我用打印是:
显示出来再在html源代码里加入
<input type=button name=mybutton onclick=window.print()>