I get the above error whenever I use a comboboxcolumn in a datagridview.
I set up the datasource, displaymember and valuemember properties properly.
But, when I run the app, I get this error...
what is the reason of it anyone who knows the fix of this problem...
Or is this bug in VS.NET 2005 Beta..

the value of datagridviewcomboboxcell is invalid error
SaurabhGangwal
I added a combobox column to the datagridview... Set its Datamemberproperty to a field on Bindingsource1.. I also set its datasource property to another binding source (say, bindingsource2)... and set its displaymember property to a field on bindingsource2 and valuemember property to a field on bindingsource2...
Just this... And when I run the app, I get the error mentioned above...
What is the reason of it ... It is just a basic usage of combobox column, nothing special...
rogueAgent
adias
thanks,
-mark
Program Manager
Microsoft
This post is provided "as-is"
Grant Perry
I have a variation on this problem. I had filled my dataset with the related data, but appearently I had it filled a little to late, the grid was already rendered when I filled my dataset. I moved the code from the load event to the constructor and all is fine again.
Henri20
Thanks!
-mark
Program Manager
Microsoft
This post is provided "as-is"
apex1
-mark
Program Manager
Microsoft
This post is provided "as-is"
Jiming
When I change it from combobox to textbox, it lists the values correctly from BindinSource1...
And these values are all included in Bindingsource2...
hope this helps... I dont really understand what is going on here...
DanTheStan
thanks,
-mark
Program Manager
Microsoft
This post is provided "as-is"
Dmitry.K
frussell69
Let me know and hopefully we can find out where the bug is at.
thanks,
mark
Program Manager
Microsoft
This post is provided "as-is"
KurtH