我想将默认选中的单元格设置为datagridview中没有 [英] I want to set default selected cell is none in datagridview
本文介绍了我想将默认选中的单元格设置为datagridview中没有的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用datagridview来显示状态,每行都是不同的颜色.
所以我给选择的单元格颜色是Transparant.,但它显示在
表格的后面
所以我希望没有人被选中怎么做
请任何人能再次帮助我
谢谢
I am using datagridview for display status with every rows were different colors.
so i give the selected cell color is Transparant.but it is display behind the form
So i want the no one is selected how to do it
Please any one can help me again
Thank you
推荐答案
早上好,
我希望我理解你是正确的.试试这个:
Me.NameOfYourDataGridView.CurrentCell = Nothing
Good Morning,
I hope I understand you correct. Try this:
Me.NameOfYourDataGridView.CurrentCell = Nothing
这篇关于我想将默认选中的单元格设置为datagridview中没有的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文