如何解决DataGridViewComboBoxCell值在VS 2005 C#Windows应用程序中无效? [英] How to Solve DataGridViewComboBoxCell value is not valid in VS 2005 C# Windows Application?

查看:84
本文介绍了如何解决DataGridViewComboBoxCell值在VS 2005 C#Windows应用程序中无效?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在DataGridView中有两个组合框(VS 2005中的C#Windows应用程序)。根据此行的第一个Combobox值填充第二个组合框值。但不幸的是我收到错误DataGridViewComboBoxCell值无效。当我尝试在其上分配选定值时。但我的DataSource是100%有效的。我也处理了DataError Handler,但是对我来说它没有限制错误,但是无法将正确选择的值分配给DataGridView中的第二个ComboBox。任何人都可以建议如何处理这个问题。

等待你的回复。在此先感谢。

I have two Combo box in DataGridView(C# Windows Application in VS 2005) . 2nd Combo box value is populated depending on 1st Combobox value of this row. But unfortunately i have receive an error " DataGridViewComboBoxCell value is not valid ." when i try to assign the Selected value on it. But my DataSource is 100% valid. Also i handled DataError Handler but did not work for me it restrict the error ,but not able to assign the proper selected value to the 2nd ComboBox in DataGridView. Can any one please advise how to deal with this.
Waiting to hear from you guys. Thanks In Advance.

推荐答案

这篇关于如何解决DataGridViewComboBoxCell值在VS 2005 C#Windows应用程序中无效?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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