删除数据网格列标题 [英] Removing datagrid columns header

查看:39
本文介绍了删除数据网格列标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请问有什么方法可以删除数据网格的列标题以显示单个行?
谢谢.

Please is there any way to remove the columns header of a datagrid to display a single row ?
Thank you.

推荐答案

它与我的代码不兼容,我找到了另一个

It didn''t work with my code I find another

dataGridView1.ColumnHeadersVisible = false;



您的答案将我设定为正确的方式

谢谢,



your answer set me to the right way

Thank you ,


使用它,
gatagrid.ShowHeader = false;


这篇关于删除数据网格列标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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