Click here to Skip to main content
16,010,392 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# datagridview cell focus Pin
Henry Minute9-Jun-10 10:06
Henry Minute9-Jun-10 10:06 
AnswerRe: C# datagridview cell focus Pin
Dr.Walt Fair, PE9-Jun-10 10:46
professionalDr.Walt Fair, PE9-Jun-10 10:46 
GeneralRe: C# datagridview cell focus Pin
Henry Minute9-Jun-10 11:37
Henry Minute9-Jun-10 11:37 
GeneralRe: C# datagridview cell focus Pin
Dr.Walt Fair, PE9-Jun-10 13:36
professionalDr.Walt Fair, PE9-Jun-10 13:36 
QuestionC# how to keep datetimes independent of regional settings Pin
MayukhSen9-Jun-10 2:01
MayukhSen9-Jun-10 2:01 
AnswerRe: C# how to keep datetimes independent of regional settings Pin
DaveyM699-Jun-10 2:05
professionalDaveyM699-Jun-10 2:05 
AnswerRe: C# how to keep datetimes independent of regional settings Pin
OriginalGriff9-Jun-10 2:16
mveOriginalGriff9-Jun-10 2:16 
AnswerRe: C# how to keep datetimes independent of regional settings Pin
Pete O'Hanlon9-Jun-10 2:36
mvePete O'Hanlon9-Jun-10 2:36 
As others have pointed out, a DateTime is a region independent structure already. What you are talking about is using a format converter to control how it is displayed.

Before you look at setting the output of the date to be a particular format, I must ask you to consider how your application is going to be used; people have a specific local regional setting in place and generally expect their dates to be displayed in those formats - this can be critical because it has an effect on the understanding of the date. When I looked at your example, my first thought was that you were talking about the 6th of May because I am based in the UK, by displaying a different regional setting you have skewed my understanding of your data.

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



AnswerRe: C# how to keep datetimes independent of regional settings Pin
Luc Pattyn9-Jun-10 3:30
sitebuilderLuc Pattyn9-Jun-10 3:30 
GeneralRe: C# how to keep datetimes independent of regional settings Pin
MayukhSen9-Jun-10 23:48
MayukhSen9-Jun-10 23:48 
Questionhandle of parent window containing windowless content Pin
rakesh54549-Jun-10 1:33
rakesh54549-Jun-10 1:33 
QuestionBuild exe dynamically Pin
kasraa000980009-Jun-10 0:57
kasraa000980009-Jun-10 0:57 
AnswerRe: Build exe dynamically Pin
OriginalGriff9-Jun-10 1:01
mveOriginalGriff9-Jun-10 1:01 
AnswerRe: Build exe dynamically Pin
datenkabel9-Jun-10 1:51
datenkabel9-Jun-10 1:51 
GeneralRe: Build exe dynamically Pin
ostad_mrn9-Jun-10 1:58
ostad_mrn9-Jun-10 1:58 
GeneralRe: Build exe dynamically Pin
WillemM9-Jun-10 3:01
WillemM9-Jun-10 3:01 
AnswerRe: Build exe dynamically Pin
PIEBALDconsult9-Jun-10 3:18
mvePIEBALDconsult9-Jun-10 3:18 
GeneralRe: Build exe dynamically Pin
kasraa000980009-Jun-10 9:28
kasraa000980009-Jun-10 9:28 
QuestionHow to write this regex? Pin
imbiz8-Jun-10 23:37
imbiz8-Jun-10 23:37 
AnswerRe: How to write this regex? Pin
Pete O'Hanlon8-Jun-10 23:42
mvePete O'Hanlon8-Jun-10 23:42 
GeneralRe: How to write this regex? Pin
OriginalGriff9-Jun-10 0:40
mveOriginalGriff9-Jun-10 0:40 
AnswerRe: How to write this regex? Pin
OkkiePepernoot9-Jun-10 0:29
OkkiePepernoot9-Jun-10 0:29 
GeneralRe: How to write this regex? [modified] Pin
imbiz9-Jun-10 1:12
imbiz9-Jun-10 1:12 
AnswerRe: How to write this regex? Pin
OriginalGriff9-Jun-10 0:38
mveOriginalGriff9-Jun-10 0:38 
GeneralRe: How to write this regex? Pin
imbiz9-Jun-10 0:54
imbiz9-Jun-10 0:54 

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.