Click here to Skip to main content
15,905,963 members
Home / Discussions / C#
   

C#

 
Questionaspx: setting the selection in a TextBox control Pin
Christopher Duncan7-Nov-06 3:14
Christopher Duncan7-Nov-06 3:14 
AnswerRe: aspx: setting the selection in a TextBox control Pin
coolestCoder7-Nov-06 3:47
coolestCoder7-Nov-06 3:47 
Questionchange permission in registry Pin
ingsgr01@gmail.com7-Nov-06 2:17
ingsgr01@gmail.com7-Nov-06 2:17 
AnswerRe: change permission in registry Pin
ednrgc7-Nov-06 6:25
ednrgc7-Nov-06 6:25 
Questionn00b question: change the height of an already open form Pin
blackpenny157-Nov-06 2:15
blackpenny157-Nov-06 2:15 
AnswerRe: n00b question: change the height of an already open form Pin
Martin#7-Nov-06 2:28
Martin#7-Nov-06 2:28 
QuestionDataColumn.Expression Pin
cecildt7-Nov-06 1:47
cecildt7-Nov-06 1:47 
AnswerRe: DataColumn.Expression Pin
cecildt7-Nov-06 2:01
cecildt7-Nov-06 2:01 
Questionhow can i change the exe image in VC#.Net Pin
premkamalg7-Nov-06 1:02
premkamalg7-Nov-06 1:02 
AnswerRe: how can i change the exe image in VC#.Net Pin
AB77717-Nov-06 1:09
AB77717-Nov-06 1:09 
QuestionDoes anyone here know Ghost Installer Pin
JacquesDP7-Nov-06 0:24
JacquesDP7-Nov-06 0:24 
QuestionGet thumbnail info from jpeg file Pin
i-p-g-i7-Nov-06 0:06
i-p-g-i7-Nov-06 0:06 
AnswerRe: Get thumbnail info from jpeg file Pin
AB77717-Nov-06 1:17
AB77717-Nov-06 1:17 
GeneralRe: Get thumbnail info from jpeg file Pin
i-p-g-i7-Nov-06 2:27
i-p-g-i7-Nov-06 2:27 
AnswerRe: Get thumbnail info from jpeg file Pin
Christian Graus7-Nov-06 9:13
protectorChristian Graus7-Nov-06 9:13 
Questioncreate excel Pin
fmardani7-Nov-06 0:05
fmardani7-Nov-06 0:05 
AnswerRe: create excel Pin
Pete O'Hanlon7-Nov-06 4:59
mvePete O'Hanlon7-Nov-06 4:59 
GeneralRe: create excel Pin
reviashko8-Nov-06 2:14
reviashko8-Nov-06 2:14 
QuestionGraphical Presentation Pin
Rajesh Khubchandani6-Nov-06 23:59
Rajesh Khubchandani6-Nov-06 23:59 
Questionproblem assigning user controls to a panel Pin
quiteSmart6-Nov-06 23:03
quiteSmart6-Nov-06 23:03 
AnswerRe: problem assigning user controls to a panel Pin
Martin#6-Nov-06 23:24
Martin#6-Nov-06 23:24 
QuestionConvert.ToDateTime Problem Pin
Support1236-Nov-06 22:36
Support1236-Nov-06 22:36 
Hi all,

Yesterday i had the problem when i tried to convert a string to DateTime

I wanted to do the following:

string _appDate=_CurrentSelectedDate.Date.ToString("yyyy/MM/dd");<br />
string _fromDateTime = _appDate+" "+startTime;<br />
string _endDateTime = _appDate+" "+endTime;<br />
<br />
FromTime = Convert.ToDateTime(_fromDateTime);<br />
ToTime = Convert.ToDateTime(_endDateTime);


Now in this example the value of _appDate is "2006/11/07"
the value of _startTime is "4:00 PM"
the value of _endTime is "5:00 PM"

That makes the value of _fromDateTime = "2006/11/07 4:00 PM"
and the value of _endDateTime = "2006/11/07 5:00 PM"
I checked and it is...

Now when i try to Convert.ToDateTime for the FromDate and the ToDate
The value of FromTime is 7/11/2006
and value of ToTime is 7/11/2006 Confused | :confused:

on the other computer the values are correct but not on mine...

The regional settings are the same...

Please help

"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison

AnswerRe: Convert.ToDateTime Problem Pin
_mubashir7-Nov-06 0:29
_mubashir7-Nov-06 0:29 
GeneralRe: Convert.ToDateTime Problem Pin
Support1237-Nov-06 0:41
Support1237-Nov-06 0:41 
GeneralRe: Convert.ToDateTime Problem Pin
Support1237-Nov-06 1:23
Support1237-Nov-06 1:23 

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.