469,889 Members | 1,365 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,889 developers. It's quick & easy.

Changing decimal simbol in a dataset


I'm showing decimal values in a datagrid, but the decimal point shown is
the "," and the correct is the ".". The datagrid is filled with a
dataset, the dataset is filled with a SQL Server 2000 store procedure.

I'm running the client on the same machine of the database server and
the application server, on this machine it's regional configuration on
the control panel, the decimal simbol it's the "."...

so... how can I fix this? should I format on VB each column, each row of
the dataset?

Thanks for any suggestion!

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #1
1 1384

The best is using the right setting of your OS in the culture it has to be,
when not you can maybe try one of this ones:

\\\set culture
Dim myCIintl As New System.Globalization.CultureInfo("nl-NL")
Application.CurrentCulture = myCIintl
Thread.CurrentThread.CurrentCulture = New CultureInfo("en-US")

Know that it makes your application culture dependend.

I hope this helps?

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Mihajlo Canic | last post: by
2 posts views Thread by John Smith | last post: by
1 post views Thread by Alberto | last post: by
reply views Thread by Luis Esteban Valencia | last post: by
1 post views Thread by Les Hughes | last post: by
1 post views Thread by Andrés Giraldo | last post: by
4 posts views Thread by =?Utf-8?B?cGF0cmlja2RyZA==?= | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.