Click here to Skip to main content
15,113,131 members
Home / Discussions / C#
   

C#

 
QuestionSilent installation - Invalid Re-install mode character error Pin
sonia$cool2-Apr-13 4:57
Membersonia$cool2-Apr-13 4:57 
AnswerRe: Silent installation - Invalid Re-install mode character error Pin
Pete O'Hanlon2-Apr-13 7:07
mvePete O'Hanlon2-Apr-13 7:07 
GeneralRe: Silent installation - Invalid Re-install mode character error Pin
sonia$cool3-Apr-13 5:01
Membersonia$cool3-Apr-13 5:01 
GeneralRe: Silent installation - Invalid Re-install mode character error Pin
Pete O'Hanlon3-Apr-13 5:04
mvePete O'Hanlon3-Apr-13 5:04 
GeneralRe: Silent installation - Invalid Re-install mode character error Pin
sonia$cool3-Apr-13 5:24
Membersonia$cool3-Apr-13 5:24 
GeneralRe: Silent installation - Invalid Re-install mode character error Pin
Pete O'Hanlon3-Apr-13 5:32
mvePete O'Hanlon3-Apr-13 5:32 
GeneralRe: Silent installation - Invalid Re-install mode character error Pin
sonia$cool3-Apr-13 5:36
Membersonia$cool3-Apr-13 5:36 
Questionget datetime values from database in dd/MM/yyyy HH:mm:ss format irrespective of system date/time format Pin
NarVish2-Apr-13 4:24
MemberNarVish2-Apr-13 4:24 
I run the below query in SQL server through C#.

SELECT ScheduleTime FROM test

I'm using SqlDataAdapter to fill the results in datatable. I'm getting "ScheduleTime" values from test table ("ScheduleTime" is datetime type). But the results are in system date time format.
For example, if my system Time format is "tt hh:mm:ss" in Long Time, the results are in the below format.
27-03-2013 PM 03:51:01
if my system Time format is "HH:mm:ss" in Long Time, the results are in the below format.
27-03-2013 15:51:01

I need to get the results in dd/MM/yyyy HH:mm:ss format irrespective of system date/time format.
Please guide me to this. Thanks in advance.
AnswerRe: get datetime values from database in dd/MM/yyyy HH:mm:ss format irrespective of system date/time format Pin
Hemant Singh Rautela2-Apr-13 4:41
professionalHemant Singh Rautela2-Apr-13 4:41 
GeneralRe: get datetime values from database in dd/MM/yyyy HH:mm:ss format irrespective of system date/time format Pin
NarVish2-Apr-13 20:55
MemberNarVish2-Apr-13 20:55 
QuestionLeft click works right does not Pin
electriac2-Apr-13 1:29
Memberelectriac2-Apr-13 1:29 
QuestionRe: Left click works right does not Pin
Eddy Vluggen2-Apr-13 1:33
professionalEddy Vluggen2-Apr-13 1:33 
AnswerRe: Left click works right does not Pin
electriac2-Apr-13 1:39
Memberelectriac2-Apr-13 1:39 
AnswerRe: Left click works right does not Pin
electriac2-Apr-13 1:50
Memberelectriac2-Apr-13 1:50 
AnswerRe: Left click works right does not Pin
Richard MacCutchan2-Apr-13 3:14
mveRichard MacCutchan2-Apr-13 3:14 
GeneralRe: Left click works right does not Pin
electriac2-Apr-13 3:41
Memberelectriac2-Apr-13 3:41 
GeneralRe: Left click works right does not Pin
electriac2-Apr-13 3:45
Memberelectriac2-Apr-13 3:45 
GeneralRe: Left click works right does not Pin
Richard MacCutchan2-Apr-13 3:50
mveRichard MacCutchan2-Apr-13 3:50 
AnswerRe: Left click works right does not Pin
Bernhard Hiller2-Apr-13 22:26
MemberBernhard Hiller2-Apr-13 22:26 
AnswerRe: Left click works right does not Pin
raeeschaudhary2-Apr-13 22:41
Memberraeeschaudhary2-Apr-13 22:41 
QuestionRead PDF Pin
Kevin Marois1-Apr-13 13:53
professionalKevin Marois1-Apr-13 13:53 
AnswerRe: Read PDF Pin
Eddy Vluggen1-Apr-13 14:15
professionalEddy Vluggen1-Apr-13 14:15 
GeneralRe: Read PDF Pin
Kevin Marois1-Apr-13 14:16
professionalKevin Marois1-Apr-13 14:16 
GeneralRe: Read PDF Pin
Eddy Vluggen1-Apr-13 14:21
professionalEddy Vluggen1-Apr-13 14:21 
AnswerRe: Read PDF Pin
Abhinav S1-Apr-13 21:47
MemberAbhinav S1-Apr-13 21:47 

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.