如何在C#中删除gridview的箭头按钮列 [英] how to remove the arrow button column of gridview in c#

查看:94
本文介绍了如何在C#中删除gridview的箭头按钮列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何删除用于选择C#中的列的箭头列.这在asp.net中是可能的,但是我该如何在C#中做同样的事情
请提供代码帮助
关于bishnu

hi frens, how can i remove the arrow head column which is used to select a column in C#. this is possible in asp.net but how can i do the same in C#
please help with the code
with regards bishnu

推荐答案

将RowHeadersVisible属性设置为false.即
Set the RowHeadersVisible property to false. i.e.
dataGridView1.RowHeadersVisible = false;


或者,您当然也可以在设计器中执行此操作.


Or you can also do this in the designer of course.


这篇关于如何在C#中删除gridview的箭头按钮列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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