<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: DataGridViewComboBoxCell Errors in Visual Studio 2005</title>
	<atom:link href="http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/</link>
	<description>a site about the stuff that keeps you busy</description>
	<pubDate>Fri, 10 Feb 2012 18:55:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: محمود مصطفى على</title>
		<link>http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/comment-page-1/#comment-17969</link>
		<dc:creator>محمود مصطفى على</dc:creator>
		<pubDate>Thu, 15 Dec 2011 17:41:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/#comment-17969</guid>
		<description>Excellent. Trust me to be messing with these properties. Thanks for posting the solution</description>
		<content:encoded><![CDATA[<p>Excellent. Trust me to be messing with these properties. Thanks for posting the solution</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eduardo Pereira Garcia</title>
		<link>http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/comment-page-1/#comment-17956</link>
		<dc:creator>Eduardo Pereira Garcia</dc:creator>
		<pubDate>Wed, 25 May 2011 17:28:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/#comment-17956</guid>
		<description>IT worked to me too, thanks.</description>
		<content:encoded><![CDATA[<p>IT worked to me too, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Aoun</title>
		<link>http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/comment-page-1/#comment-17947</link>
		<dc:creator>Mike Aoun</dc:creator>
		<pubDate>Sun, 30 Jan 2011 04:37:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/#comment-17947</guid>
		<description>I had the EXACT same problem. I never would have in a million years thought it had anything to do with the autosize property and therefore would have never found it (and probably would have just eaten the exception). Thank you very much!</description>
		<content:encoded><![CDATA[<p>I had the EXACT same problem. I never would have in a million years thought it had anything to do with the autosize property and therefore would have never found it (and probably would have just eaten the exception). Thank you very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: henry</title>
		<link>http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/comment-page-1/#comment-17933</link>
		<dc:creator>henry</dc:creator>
		<pubDate>Fri, 05 Nov 2010 07:09:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/#comment-17933</guid>
		<description>I don't know if this would help - I had the same problem but this is what worked for me. On my form I have  4 datagridviews for inserting and updating. Inside these datagridviews I have comboboxes and to populate the comboboxes I used the same datasources as my datagridviews. When updating the datagridviews I received a “System.Argument.Exception: DataGridViewComboBoxCell value is not valid” for each combobox inside the gridviews. I then created separate typed datasets as lookupdatasets for the comboboxes to populate them and my problem was solved.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know if this would help - I had the same problem but this is what worked for me. On my form I have  4 datagridviews for inserting and updating. Inside these datagridviews I have comboboxes and to populate the comboboxes I used the same datasources as my datagridviews. When updating the datagridviews I received a “System.Argument.Exception: DataGridViewComboBoxCell value is not valid” for each combobox inside the gridviews. I then created separate typed datasets as lookupdatasets for the comboboxes to populate them and my problem was solved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nandkishore</title>
		<link>http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/comment-page-1/#comment-17915</link>
		<dc:creator>Nandkishore</dc:creator>
		<pubDate>Wed, 02 Jun 2010 10:29:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/#comment-17915</guid>
		<description>Hi,

I have gone through all the settings whichever possible but I am unable to resolve same issue in application.

In my DataGridView there are 3 ComboBoxColumns. Out of which two are filled by Enum list and one from DataAdapter.
I pass Generic Class object as DataSource to DataGridView. Based on the values in this object I want those ComboBoxColumns values need to be selected and relevant DisplayMember has to get displayed. 

I works only for 2 ComboBoxColumns which are filled with Enum List. But third combo shows ValueMember as DisplayMember and gives same error :

“System.Argument.Exception: DataGridViewComboBoxCell value is not valid”

What could be the reason for it?

Plz help me to solve this.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have gone through all the settings whichever possible but I am unable to resolve same issue in application.</p>
<p>In my DataGridView there are 3 ComboBoxColumns. Out of which two are filled by Enum list and one from DataAdapter.<br />
I pass Generic Class object as DataSource to DataGridView. Based on the values in this object I want those ComboBoxColumns values need to be selected and relevant DisplayMember has to get displayed. </p>
<p>I works only for 2 ComboBoxColumns which are filled with Enum List. But third combo shows ValueMember as DisplayMember and gives same error :</p>
<p>“System.Argument.Exception: DataGridViewComboBoxCell value is not valid”</p>
<p>What could be the reason for it?</p>
<p>Plz help me to solve this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chetan</title>
		<link>http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/comment-page-1/#comment-17903</link>
		<dc:creator>Chetan</dc:creator>
		<pubDate>Wed, 17 Mar 2010 11:16:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/#comment-17903</guid>
		<description>i have problem with datagridview in comboboxcell 
i want to display corrosponding values in another comboboxcell in datagridview

plz give me solution</description>
		<content:encoded><![CDATA[<p>i have problem with datagridview in comboboxcell<br />
i want to display corrosponding values in another comboboxcell in datagridview</p>
<p>plz give me solution</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Pitchford</title>
		<link>http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/comment-page-1/#comment-17891</link>
		<dc:creator>Paul Pitchford</dc:creator>
		<pubDate>Tue, 17 Nov 2009 22:13:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/#comment-17891</guid>
		<description>Excellent. Trust me to be messing with these properties. Thanks for posting the solution!</description>
		<content:encoded><![CDATA[<p>Excellent. Trust me to be messing with these properties. Thanks for posting the solution!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sherry</title>
		<link>http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/comment-page-1/#comment-17860</link>
		<dc:creator>sherry</dc:creator>
		<pubDate>Tue, 30 Jun 2009 07:25:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/#comment-17860</guid>
		<description>Private Sub DataGridView1_DataError(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewDataErrorEventArgs) Handles DataGridView1.DataError
        If e.Context = DataGridViewDataErrorContexts.Formatting Or e.Context = DataGridViewDataErrorContexts.PreferredSize Then
            e.ThrowException = False
        End If
    End Sub</description>
		<content:encoded><![CDATA[<p>Private Sub DataGridView1_DataError(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewDataErrorEventArgs) Handles DataGridView1.DataError<br />
        If e.Context = DataGridViewDataErrorContexts.Formatting Or e.Context = DataGridViewDataErrorContexts.PreferredSize Then<br />
            e.ThrowException = False<br />
        End If<br />
    End Sub</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MJB</title>
		<link>http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/comment-page-1/#comment-17335</link>
		<dc:creator>MJB</dc:creator>
		<pubDate>Thu, 05 Feb 2009 00:17:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/#comment-17335</guid>
		<description>Thank you very much for this clear and concise solution.

You have saved me hours of work also.  I searched the web and also found a lot of unanswered questions, or errors about data types not matching.

But I found your solution fairly quick.  So thank you for putting it out there.

I also found it frustrating that the error did not mention what event was causing this so could not tell where to put the error handling code.  

p.s This was in Visual Studio 2008, so the problem has not gotten addressed by MS yet.</description>
		<content:encoded><![CDATA[<p>Thank you very much for this clear and concise solution.</p>
<p>You have saved me hours of work also.  I searched the web and also found a lot of unanswered questions, or errors about data types not matching.</p>
<p>But I found your solution fairly quick.  So thank you for putting it out there.</p>
<p>I also found it frustrating that the error did not mention what event was causing this so could not tell where to put the error handling code.  </p>
<p>p.s This was in Visual Studio 2008, so the problem has not gotten addressed by MS yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hans</title>
		<link>http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/comment-page-1/#comment-16740</link>
		<dc:creator>hans</dc:creator>
		<pubDate>Fri, 19 Dec 2008 14:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.kebabShopBlues.co.uk/2007/03/24/datagridviewcomboboxcell-errors-in-visual-studio-2005/#comment-16740</guid>
		<description>Thanks very much...

I could not find what the problem was while I never had made the relation between Autosizecolumnsmode  and this errormessage "System.Argument.Exception: DataGridViewComboBoxCell value is not valid"</description>
		<content:encoded><![CDATA[<p>Thanks very much&#8230;</p>
<p>I could not find what the problem was while I never had made the relation between Autosizecolumnsmode  and this errormessage &#8220;System.Argument.Exception: DataGridViewComboBoxCell value is not valid&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

