使用datagrid视图的表 [英] table using datagrid view

查看:87
本文介绍了使用datagrid视图的表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我创建了1个带有datagrid视图的表。但是当我运行应用程序时,第1列(ROW标题)显示为空白。当我单击行时,该列上的箭头显示。





但我不想要这样的表示。我想在第1栏中添加文字。如何做到这一点.... 。





注意:第一行是列标题,这很好

第一列只显示带箭头的空白(需要添加文字)





请帮助。





谢谢



Viva

Hi
I have created 1 table with datagrid view.But when I run the application 1st column (ROW header) shows blank.When i Click row ,arrow display on that column.


But I dont want such a representation.I want to add text in 1st column.How to do that.....


note: 1st row is column header which is fine
1st column simply shows blank with arrow (need to add text)


Please Help.


Thanks

Viva

推荐答案

给出 example2 www.dotnetperls.com/datatable [ ^ ]



如果你看到form1 cat和dog是第2和第3列标题,但第1列标题为空白。第1列仅显示第2行的箭头并且在第4排明星............实际上第1列是灰色的。



我不想要那个空白的第1列...如何删除或如何添加文本,考虑到它是第1列。



感谢

viva
for given example2 at www.dotnetperls.com/datatable[^]

if you see form1 cat and dog are 2nd and 3rd column header but 1st column header is blank.and that 1 st column only shows arrow at 2nd row and star at 4th row............ actully that 1st column is in grey color.

I do not want that blank 1st column...how to remove that or how to add text considering it is a 1st column.

thanks
viva


这篇关于使用datagrid视图的表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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