Windows应用程序datagridview [英] windows application datagridview

查看:61
本文介绍了Windows应用程序datagridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我对Windows应用程序非常了解,我通常制作网站.我对datagridview有一些疑问.

> *的第一列如何删除?
>而且我希望它显示很多行,尽管它们是空的.

有人可以帮我吗.

Hi,

I''m very knew to windows application, I usually make websites. I''ve got a few queries with the datagridview.

> the first column with the * how do I remove that?
> and I would like it to show alot of rows although they are empty.

Can someone please help me.

推荐答案

1.将RowHeaderVisible属性设置为false.
2.请再描述第二个问题.可能是您正在寻找AllowUserToAddRows属性.
1. Set RowHeaderVisible property to false.
2. Please describe second problem a bit more. May be you are looking for AllowUserToAddRows property.


感谢回复.

关于我的第二个问题,我不想使用灰色背景,然后用带有网格视图线的白色显示了数据,这看起来并不整洁.

我将背景色更改为白色,并且网格线已关闭,现在看起来更加整洁,尽管我不知道这是否是正确的方法.
Thanks for the reply.

About my second problem, I didn''t want the grey background, and then white with gridview lines there were data is, this does not look neat.

I changed the background color to white and the gridlines are off, now it looks much neater, although I do not know if this is the correct way to do it.


这篇关于Windows应用程序datagridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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