日期:2014-05-17  浏览次数:21066 次

求救!Winform DataGridView采用虚拟模式后 .Cells[0].Value 设的文字不显示
DataGridView采用虚拟模式后 DataGridViewRow.Cells[0].Value = "" 设的文字不显示
这是什么原因呢,是不是还要象ListView中UseItemStyleForSubItems = false才会显示一样呢,那是那个属性呢!急等,谢谢!
winform DataGridView 虚拟模式 C#

------解决方案--------------------
不太懂,占个SF  坐等大神解决!
------解决方案--------------------
dgvr.Cells[name].Style.NullValue = txt; 

这是设置没有数据的时候显示的内容吧,那么你的虚拟模式是个什么概念呢?