[mapguide-users] [2.5.2].Net API GetInt32
Rémy Gourrat
rgourrat at ag-carto.fr
Fri Apr 1 09:39:38 PDT 2016
Hi,
In an aspx,
i get an Oracle field value with King.Oracle FDO provider on an Oracle View with the GetInt32 method.
In the table the field type is number(8,0) and in the view number (8), i don't kwnow why there is difference : in the view no scale precised on the number...
MapGuide preview datasource say that MY_ORACLE_VARIABLE is int
It's running for positive number, but every time MY_ORACLE_VARIABLE is negative (ex = -1), GetInt32 return 0 !
My code :
int? Myvariable = null;
myvariable = featureReader.GetInt32("MY_ORACLE_VARIABLE");
is something wrong in my code ?
Thanks for your help
Rémy
-----
AG-Carto - Bayonne
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/2-5-2-Net-API-GetInt32-tp5259209.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20160401/15c8a87f/attachment.html>
More information about the mapguide-users
mailing list