Click here to Skip to main content
15,747,139 members
Home / Discussions / C#
   

C#

 
GeneralRe: I miss header files. Do you? Pin
leppie14-Oct-02 7:21
leppie14-Oct-02 7:21 
GeneralRe: I miss header files. Do you? Pin
Maciej Pirog14-Oct-02 7:33
Maciej Pirog14-Oct-02 7:33 
GeneralRe: I miss header files. Do you? Pin
leppie14-Oct-02 8:19
leppie14-Oct-02 8:19 
GeneralRe: I miss header files. Do you? Pin
Maciej Pirog15-Oct-02 6:59
Maciej Pirog15-Oct-02 6:59 
AnswerRe: I miss header files. Do you? Pin
David Stone14-Oct-02 4:36
sitebuilderDavid Stone14-Oct-02 4:36 
AnswerRe: Try to use #region Pin
Masaaki Onishi14-Oct-02 7:55
Masaaki Onishi14-Oct-02 7:55 
GeneralRe: Try to use #region Pin
Stephane Rodriguez.14-Oct-02 9:13
Stephane Rodriguez.14-Oct-02 9:13 
GeneralRegional Settings Pin
daristos13-Oct-02 22:32
daristos13-Oct-02 22:32 
I am trying to write a program that sends data from a DataTable to an Microsoft Access Database (mdb format) using an OleDBConnection. The regional settings of my computer are set to "Greek". The problem is that the decimal numbers stored in the datatable cannot be transferred correctly to the Access Database. For example, the numer 15.34 (where "." is the decimal point for the US Regional Settings) is stored as 15.340,00 (where "," is the decimal point for the Greek Regional Settings).

I have tried to set the regional settings from inside the source code (using the CurrentThread.CultureInfo to "Greek") but that only applies to System.String values, and NOT decimal or floating point. For this reason, the values cannot be stored correctly into the Access DB file. The only way to correct this problem is to manually change the regional settings from the Control Panel, but I would like to avoid this solution.

I would appreciate it if you could help me with this issue.

Thank you in advance...

Dimitris A.
GeneralRe: Regional Settings Pin
Luis Alonso Ramos14-Oct-02 4:04
Luis Alonso Ramos14-Oct-02 4:04 
GeneralRe: Regional Settings Pin
Andrew Lewis16-Oct-02 12:04
Andrew Lewis16-Oct-02 12:04 
GeneralPrinting Listview contents Pin
RK_200013-Oct-02 14:45
RK_200013-Oct-02 14:45 
GeneralDrawString and tabs Pin
Nnamdi Onyeyiri13-Oct-02 5:39
Nnamdi Onyeyiri13-Oct-02 5:39 
GeneralCasting Issues... Pin
Nick Parker12-Oct-02 17:28
protectorNick Parker12-Oct-02 17:28 
GeneralRe: Casting Issues... Pin
James T. Johnson12-Oct-02 17:32
James T. Johnson12-Oct-02 17:32 
GeneralRe: Casting Issues... Pin
Nick Parker13-Oct-02 1:28
protectorNick Parker13-Oct-02 1:28 
GeneralRe: Casting Issues... Pin
leppie13-Oct-02 3:47
leppie13-Oct-02 3:47 
QuestionWhere to find .NET compatible languages? Pin
Zibar12-Oct-02 5:21
sussZibar12-Oct-02 5:21 
AnswerRe: Where to find .NET compatible languages? Pin
Stephane Rodriguez.12-Oct-02 9:57
Stephane Rodriguez.12-Oct-02 9:57 
GeneralProgress Bar in a status panel... Pin
Richard Smith11-Oct-02 13:45
Richard Smith11-Oct-02 13:45 
GeneralRe: Progress Bar in a status panel... Pin
leppie12-Oct-02 10:54
leppie12-Oct-02 10:54 
GeneralRe: Try this. Pin
Masaaki Onishi12-Oct-02 11:32
Masaaki Onishi12-Oct-02 11:32 
GeneralRe: Progress Bar in a status panel... Pin
Nick Parker12-Oct-02 17:24
protectorNick Parker12-Oct-02 17:24 
GeneralRe: Progress Bar in a status panel... Cheaters! Pin
Richard Smith13-Oct-02 2:53
Richard Smith13-Oct-02 2:53 
GeneralDeclaration error. Pin
suresh_sathya11-Oct-02 0:43
suresh_sathya11-Oct-02 0:43 
GeneralRe: Declaration error. Pin
Paul Riley11-Oct-02 0:50
Paul Riley11-Oct-02 0:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.