I am trying to read data stored in pervasive sql server from an application in c# and my code in c# is like this:
daBVData = new Pervasive.Data.SqlClient.PsqlDataAdapter("SELECT NUMBER,RECNO,SHD_DESCRIPTION,BVUNITPRICE FROM SALES_HISTORY_DETAIL", cnBVData);
daBVData.Fill(cRMDataSet.SALES_HISTORY_DETAIL);
daBVData.SelectCommand.Dispose();
I get the correct values for non numeric fields (like strings) but for numeric field the select statement returns values which are wrong, eg:
returns 9000001.20520 instead of 12052
or returns 9000000.14523 instead of 1452.31
Appreciate your help.