We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

object cannot be cast from DBNull to other types

Thread ID:

Created:

Updated:

Platform:

Replies:

77576 Nov 7,2008 05:31 AM UTC Dec 10,2008 12:12 PM UTC Windows Forms 3
loading
Tags: GridControl
Keith Aubin
Asked On November 7, 2008 05:31 AM UTC

I recently upgraded from an early essential studio version (4.something) to 6.1.0.34. Many of the grids in my application have comboboxes populated with data that have a NULL as a value since those values are allowed in our Oracle database. This worked fine with previous versions but now, whenever I select the "null" value, this error pops up when I try to change rows:

object cannot be cast from DBNull to other types

Is this issue fixed in the latest version?


Jisha Joy [Syncfusion]
Replied On November 10, 2008 10:27 AM UTC

Hi Keith,

We have similar issue in one of our 6.x version. Could you please try our latest version 6.4.0.15 and let me know you still facing the issue?. You can download the same from the below link:

http://www.syncfusion.com/downloads/latestversion/default.aspx

Please try this and let me know if this helps.

Regards,
Jisha


Keith Aubin
Replied On November 29, 2008 08:16 PM UTC

I've tried the latest version and it is still an issue. I'm going to escalate this to a Direct-Trac ticket. Thanks for your help.

>Hi Keith,

We have similar issue in one of our 6.x version. Could you please try our latest version 6.4.0.15 and let me know you still facing the issue?. You can download the same from the below link:

http://www.syncfusion.com/downloads/latestversion/default.aspx

Please try this and let me know if this helps.

Regards,
Jisha




Administrator [Syncfusion]
Replied On December 10, 2008 12:12 PM UTC

Hi,

After upgrading to 6.4.0.15 from 5.1.1.47,
the same problem has occured for my application.
CellValues are not accepting null values, while try to accepting 'Object reference not set to an instance of object' exception is raising.

Please suggest, how to avoid this exception?

Thanks
Raj


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;