473,395 Members | 1,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Dataset problem with numbers

Hi there

I have a strange problem with storing number from a dataset in a JET
database.

I use this code:
oleDbConnection1.Open();

dsLogBook1.Dives.Clear();

dsLogBook1.Samples.Clear();

SuuntoCSVParser csv=new SuuntoCSVParser();

csv.Filename=fileName;

csv.DSLogBook=dsLogBook1;

csv.loadAndParse();

daDivesAll.Update(dsLogBook1.Dives);

daSamplesAll.Update(dsLogBook1.Samples);

oleDbConnection1.Close();

The SuuntoCSVParser, loads a CSV file and stores that data in 2 tables in 1
dataset.

If i debug the dataset before the 'daDivesAll.Update(dsLogBook1.Dives); the
numbers could be '44.2' or '36' or '6.7' but when i look in the database
those numbers have been stored as: 442, 36 and 67

The funny thing is this problem only exists on my computer at work, where i
am running Windows XP english version, set to 'Danish' at home where i have
a german Windows MCE also set to 'Danish' everything works as expected.

Has anyone any ideas ?

Best regards

Søren Reinke
Nov 17 '05 #1
0 731

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Bruce Stockwell | last post by:
the setup: Webservice/WinClient application/SQL server. VS.Net (visual basic) winform wizard creates a simple form with load cancel cancelall and datagrid bound to a simple Dataset with one...
3
by: Serdar C | last post by:
hello there, i am writing a program that generates random numbers and shows the numbers on a (x,y) chart.. i decided to use crystal reports to draw the chart and a dataset.readxml to read data.....
35
by: MuZZy | last post by:
Hi All, I got a issue here and hope someone can help me: Let's consider this code: // =================== CODE START ================================= using System; using System.Data; ...
0
by: Greg | last post by:
I am working on an application that requires working with numbers in scientific notation. I am using SqlServer as the database and I have created strongly typed data adapters and datasets. The...
1
by: vaidas gudas | last post by:
I want that on my web page in the data grid would be the column with the row number. Data grid get data from dataset, which get data from sql server. In sql server it is not column ROWNUM like in...
13
by: Lars Netzel | last post by:
hi! myDataSet that is fillled from an Access 2000 db and includes ONE table From that Table in myDataSet I create myDataView and use a Rowfilter to get a few rows that i work with (i need a...
1
by: Rico | last post by:
hello, I have a Dataset that I've created without using a data adapter. What I want to do is add values to this dataset (two fields) ad the user goes along i.e. user receives three bikes in...
2
by: Peter S. | last post by:
I am pulling some data from a source via ODBC and placing the information in a DataSet. The first pull is very large but once that is complete I plan to do nightly pulls to get any new data that...
5
by: Warex | last post by:
I am using the example from the microscuzz site on making a key but It keeps giving me an error: With DataSets.Tables("Numbers") .PrimaryKey = New DataColumn() {.Columns("Number")} End With ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.