最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Datagridview

运维笔记admin13浏览0评论

Datagridview

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.

发布评论

评论列表(0)

  1. 暂无评论