如何打印datagridview数据源值 [英] How to print datagridview datasource value

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

问题描述

对于打印datagridview数据源值,我提到此链接。我得到了答案。但我想更改打印文档中的标题宽度。我怎样才能做到这一点。任何人帮助我

For Printing the datagridview datasource value I referred this link. I got the answer. But I want to change the Header width in printing document. How can I do this. Anyone help me

推荐答案

打开网格属性,更改有问题的列的宽度(有几个选项和固定宽度。例如,你可以使用填充这样您的列填充剩余区域...或调整大小以将其设置为最宽内容字段宽度的内容。
Open the grid properties, change the width of the column in question (there are several options along with fixed width. For example you can use Fill so that your column fills remaining area...or resize to content in which it will be set to the width of the widest content field.


这篇关于如何打印datagridview数据源值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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