Datagridview
Datagridview - 删除第一列之前的部分(Datagridview - remove part before the first column)我想知道如果使用datagridview控件,可以删除在第一列之前看起来像一列的东西。 我认为它用来选择行,但不知道它叫什么。
I was wondering if when using the datagridview control you can remove the thing that looks like a column before the 1st column. I think its used to select rows but not sure what its called.
最满意答案这是C#中标准Windows控件的解决方案。
要隐藏行标题,可以使用属性RowHeadersVisible并将其设置为false。
为了使行标题更小,您可以使用属性RowHeadersWidth 。
我希望这可以帮助你。
Here is a solution for standard windows controls in C#.
To hide the row headers you can use the property RowHeadersVisible and set it to false.
To make the row headers smaller you can use the property RowHeadersWidth.
I hope this helps you.