Click here to Skip to main content
15,914,013 members
Home / Discussions / C#
   

C#

 
AnswerRe: Stack trace Pin
leppie4-Jul-06 19:23
leppie4-Jul-06 19:23 
GeneralRe: Stack trace Pin
BoneSoft5-Jul-06 3:47
BoneSoft5-Jul-06 3:47 
QuestionAccessing Frames within WebBrowser component Pin
Dave_Roach4-Jul-06 8:56
Dave_Roach4-Jul-06 8:56 
QuestionMenu Choise Pin
ytubis4-Jul-06 7:24
ytubis4-Jul-06 7:24 
AnswerRe: Menu Choise Pin
Jun Du4-Jul-06 8:09
Jun Du4-Jul-06 8:09 
GeneralRe: Menu Choise Pin
ytubis4-Jul-06 8:40
ytubis4-Jul-06 8:40 
GeneralRe: Menu Choise Pin
Jun Du4-Jul-06 9:25
Jun Du4-Jul-06 9:25 
GeneralRe: Menu Choise Pin
Jun Du4-Jul-06 14:18
Jun Du4-Jul-06 14:18 
QuestionWSD 3.0 UsernameToken (Sign a SOAP Message by Using a UserName and Password ) Pin
okoji Cyril4-Jul-06 6:30
okoji Cyril4-Jul-06 6:30 
QuestionHow to select a specific cell in DataGridView Pin
Nigor4-Jul-06 5:42
Nigor4-Jul-06 5:42 
QuestionShadow copy in .net windows forms Pin
kokilambal.p4-Jul-06 4:54
kokilambal.p4-Jul-06 4:54 
AnswerRe: Shadow copy in .net windows forms Pin
Paul Conrad4-Jul-06 14:07
professionalPaul Conrad4-Jul-06 14:07 
QuestionHow to create a trafic program Pin
Halawlaws4-Jul-06 4:02
Halawlaws4-Jul-06 4:02 
AnswerRe: How to create a trafic program Pin
stancrm4-Jul-06 4:06
stancrm4-Jul-06 4:06 
GeneralRe: How to create a trafic program Pin
Halawlaws4-Jul-06 4:15
Halawlaws4-Jul-06 4:15 
GeneralRe: How to create a trafic program Pin
Jun Du4-Jul-06 4:20
Jun Du4-Jul-06 4:20 
GeneralRe: How to create a trafic program Pin
Halawlaws4-Jul-06 4:32
Halawlaws4-Jul-06 4:32 
GeneralRe: How to create a trafic program Pin
Jun Du4-Jul-06 5:55
Jun Du4-Jul-06 5:55 
GeneralRe: How to create a trafic program Pin
stancrm4-Jul-06 19:56
stancrm4-Jul-06 19:56 
QuestionPl help me in this issue Pin
Arun Hegde4-Jul-06 3:21
Arun Hegde4-Jul-06 3:21 
AnswerRe: Pl help me in this issue Pin
ketankumar4-Jul-06 3:32
ketankumar4-Jul-06 3:32 
QuestionConverting a string to a DateTime object (globalization question) [modified] Pin
Vikram A Punathambekar4-Jul-06 3:08
Vikram A Punathambekar4-Jul-06 3:08 
[edit]I'm using .NET 1.1[/edit]

I have a date in the form of a string, in the American format, MM/DD/YYYY. How can I create a DateTime object from this string, irrespective of the current culture?

In other words, even if the current culture is French, the incoming string 11/03/2005 should be interpreted as Nov 03, 2005. I want to do this without changing the current culture.

I tried doing
DateTime suspDt = Convert.ToDateTime(strDate, new CultureInfo("en-US"));
but that didn't work. Sniff | :^)

Thanks in advance! Smile | :)

Cheers,
Vikram.
"I am not Jesus and will never be. The fact is I was a piece of cr*p till I found Him." - Paul Selormey.


-- modified at 9:09 Tuesday 4th July, 2006
AnswerRe: Converting a string to a DateTime object (globalization question) Pin
stancrm4-Jul-06 3:16
stancrm4-Jul-06 3:16 
AnswerRe: Converting a string to a DateTime object (globalization question) Pin
Andrei Ungureanu4-Jul-06 4:37
Andrei Ungureanu4-Jul-06 4:37 
GeneralRe: Converting a string to a DateTime object (globalization question) Pin
Vikram A Punathambekar4-Jul-06 5:06
Vikram A Punathambekar4-Jul-06 5:06 

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.