[Mono-bugs] [Bug 613087] Unable to convert SqlInt64 to SqlDecimal

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jun 10 12:17:41 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=613087

http://bugzilla.novell.com/show_bug.cgi?id=613087#c2


--- Comment #2 from Eduardo Kienetz <eduardo at noticiaslinux.com.br> 2010-06-10 16:17:40 UTC ---
As workaround I had to do:
sd = new SqlDecimal((long)r.GetValue(decimal18column))
Since GetSqlDecimal() would fail on that int64 column. I'm not really sure this
'solution' is a good idea, but the amounts seem right (they are small though :)

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list