[Mono-bugs] [Bug 547251] Decimal parameter of SqlCommand causes exception when executing Command in non-english localizations
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Oct 15 11:43:51 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=547251
User stefano.sapienti at apsystems.it added comment
http://bugzilla.novell.com/show_bug.cgi?id=547251#c2
Stefano Sapienti <stefano.sapienti at apsystems.it> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
--- Comment #2 from Stefano Sapienti <stefano.sapienti at apsystems.it> 2009-10-15 09:43:50 MDT ---
I partially solved the problem.
Inside \mcs\class\Mono.Data.Tds\Mono.Data.Tds.Protocol\Tds70.cs I changed line
778 from:
value = paramValue.ToString ();
to
value = paramValue.ToString ().Replace(",",".");
and it works.
This is obviously a workaround, maybe there's the same issue on other protocols
and maybe the correct separator should be taken somewhere and not fixed to ".".
Btw, hope this helps.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list