Click here to Skip to main content
15,891,513 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regarding ContextSwitchDeadlock Exception Pin
andre_swnpl30-Jan-07 18:48
andre_swnpl30-Jan-07 18:48 
QuestionInvalidActiveXSateException was unhandled- MSChart control 6.0 Pin
GunaChinna30-Jan-07 17:26
GunaChinna30-Jan-07 17:26 
AnswerRe: InvalidActiveXSateException was unhandled- MSChart control 6.0 Pin
GunaChinna8-Feb-07 19:46
GunaChinna8-Feb-07 19:46 
QuestionDatagrid [modified] Pin
md_refay30-Jan-07 17:17
md_refay30-Jan-07 17:17 
AnswerRe: Datagrid Pin
Christian Graus30-Jan-07 18:38
protectorChristian Graus30-Jan-07 18:38 
QuestionOffice 2003 Color Pin
god4k30-Jan-07 16:50
god4k30-Jan-07 16:50 
AnswerRe: Office 2003 Color Pin
Christian Graus30-Jan-07 18:38
protectorChristian Graus30-Jan-07 18:38 
QuestionComing to grips with culture Pin
Glen Harvy30-Jan-07 16:21
Glen Harvy30-Jan-07 16:21 
Hi,

I am writing a project here in Australia that hopefully will be used in many other cultures.

I am having troubles coming to grips with how to handle different cultures particularly as it relates to database date/time formats and the various controls that rely on culture information.

Specifically, the database that the project revolves around is MS Access. Concentrating on just one field I have created - the DOB and is obviously a date/time field. The dates in the db are in English - Australian format ie dd/mm/yyyy.

I want to be able to enter the DOB into this field and would like to use a maskedtextbox to do this. Unfortunately, the provided mask (.Net v2) for date doesn't work whether I specify that controls English - US OR the English - Australia cultures. Essentially, if the first field (either whether it's month or day depending on the culture selected in the Control setting) has a 0 as it's first number, the date is not displayed correctly nor is it recorded in the DB correctly.

I have managed to avoid this issue up till now by formatting the user input into mm/dd/yyyy format for input into the database however this is not an apparent option with the maskedtextbox.

Can someone point me to a good tutorial on culture in the .Net framework and especially to VS2005 or perhaps at least guide me in the right direction? I would rather a hands-on tutorial rather than the heaps of theory and high level discussion type web sites. I need practical help Smile | :)

Is it preferable to ignore the local culture and force programatically all data (including the MS Access database) to be in a specific culture. If so - how?

Thanks in advance.





Glen Harvy

AnswerRe: Coming to grips with culture Pin
Christian Graus30-Jan-07 18:39
protectorChristian Graus30-Jan-07 18:39 
GeneralRe: Coming to grips with culture Pin
Glen Harvy30-Jan-07 19:16
Glen Harvy30-Jan-07 19:16 
GeneralRe: Coming to grips with culture Pin
Christian Graus30-Jan-07 22:07
protectorChristian Graus30-Jan-07 22:07 
GeneralRe: Coming to grips with culture Pin
Glen Harvy30-Jan-07 22:32
Glen Harvy30-Jan-07 22:32 
GeneralRe: Coming to grips with culture Pin
Christian Graus30-Jan-07 22:53
protectorChristian Graus30-Jan-07 22:53 
QuestionHow to determine the request & response packet size of a Web Service Pin
AesopTurtle30-Jan-07 16:00
AesopTurtle30-Jan-07 16:00 
QuestionHow do I "autosize" a form? Pin
Preston McCormick30-Jan-07 14:32
Preston McCormick30-Jan-07 14:32 
AnswerRe: How do I "autosize" a form? Pin
Christian Graus30-Jan-07 15:11
protectorChristian Graus30-Jan-07 15:11 
QuestionOCR BarCode Recognition Pin
smarttom9930-Jan-07 12:53
smarttom9930-Jan-07 12:53 
QuestionA namespace does not directly contain....... Pin
Skanless30-Jan-07 12:48
Skanless30-Jan-07 12:48 
AnswerRe: A namespace does not directly contain....... Pin
Luc Pattyn30-Jan-07 12:58
sitebuilderLuc Pattyn30-Jan-07 12:58 
GeneralRe: A namespace does not directly contain....... [modified] Pin
Skanless30-Jan-07 13:06
Skanless30-Jan-07 13:06 
GeneralRe: A namespace does not directly contain....... Pin
Colin Angus Mackay30-Jan-07 13:20
Colin Angus Mackay30-Jan-07 13:20 
GeneralRe: A namespace does not directly contain....... Pin
Skanless30-Jan-07 13:24
Skanless30-Jan-07 13:24 
QuestionNeed help " DataBinder.Eval " Pin
ujupanmester30-Jan-07 12:38
ujupanmester30-Jan-07 12:38 
AnswerRe: Need help " DataBinder.Eval " Pin
Christian Graus30-Jan-07 12:48
protectorChristian Graus30-Jan-07 12:48 
GeneralRe: Need help " DataBinder.Eval " Pin
ujupanmester30-Jan-07 13:11
ujupanmester30-Jan-07 13:11 

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.