Datagridview设计师的错误?列消失了 [英] Bug in Datagridview designer? Columns disappears

查看:76
本文介绍了Datagridview设计师的错误?列消失了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理一个我正在处理的数据网格的奇怪问题。

I'm having a weird problem with a datagrid i'm working on.

一切都很好,大约调整了10列,然后我编辑了一列,单击"确定"后,所有列都消失了。然后我按ctrl-z然后他们回来了,但没有像以前那样对齐,而且有些列丢失了。我不能再按ctrl-z了。

Everything was fine, with about 10 columns nicely adjusted, and then i edited one column, and when clicking OK, all columns had disappeared. Then i press ctrl-z and they get back, but not aligned like before, and some columns missing. I can't ctrl-z anymore.

现在当我尝试添加缺少的列时,我无法使用原始名称,因为它声称它"不是有效的标识符"。如果我在代码中编辑名称它仍然有效 - 但仍然 - 如果我使用设计师编辑任何列,所有列将再次被删除。

Now when i try to add the missing columns, i can't use the original name, because it claims it's "not a valid identifier". If i edit the name in code it works - but still - if i edit any columns with the designer, all columns will get whiped again.

有谁知道可能导致这种情况的原因?

Does anyone know what may cause this?

推荐答案

我也有这个问题。你有没有找到解决方案? - 谢谢!


这篇关于Datagridview设计师的错误?列消失了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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