单元格值未显示在vb.net 2008中的DataGridView中 [英] Cell value not displayed in DataGridView in vb.net 2008

查看:108
本文介绍了单元格值未显示在vb.net 2008中的DataGridView中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为特定单元格分配值。而且我也刷新网格。



当我通过消息框查找值时

(通过form_click事件)它显示正确的值单元格

但是值本身不会显示在网格的单元格中。







请帮忙。



提前谢谢

I am assigning a value to a particular cell. And I am also refreshing the grid.

When I look up the value through messagebox
(through form_click event) it shows the correct value of the cell
but the value itself is not displayed in the cell of the grid.



Please help.

Thanks in advance

推荐答案

我可以在不查看代码的情况下做出最好的猜测,你应该调用 Refresh() [ ^ ]进行更改后gridview的方法。
The best guess I can make without looking at your code is that you should call the Refresh()[^] method of the gridview after you make the changes.


这篇关于单元格值未显示在vb.net 2008中的DataGridView中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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