Click here to Skip to main content
12,503,838 members (32,057 online)
   

C#

 
GeneralRe: error in query with 2 tables in c# visual studio 2010 Pin
Ravi Bhavnani4-Apr-13 11:50
memberRavi Bhavnani4-Apr-13 11:50 
SuggestionRe: error in query with 2 tables in c# visual studio 2010 Pin
ROHIT SRIVASTAVA3-Apr-13 2:58
memberROHIT SRIVASTAVA3-Apr-13 2:58 
Question1500x1500 image at 30fps on wpf Pin
barbetto802-Apr-13 4:58
memberbarbetto802-Apr-13 4:58 
AnswerRe: 1500x1500 image at 30fps on wpf Pin
Pete O'Hanlon2-Apr-13 5:24
protectorPete O'Hanlon2-Apr-13 5:24 
GeneralRe: 1500x1500 image at 30fps on wpf Pin
barbetto802-Apr-13 23:06
memberbarbetto802-Apr-13 23:06 
GeneralRe: 1500x1500 image at 30fps on wpf Pin
Pete O'Hanlon2-Apr-13 23:39
protectorPete O'Hanlon2-Apr-13 23:39 
QuestionSilent installation - Invalid Re-install mode character error Pin
sonia$cool2-Apr-13 3:57
membersonia$cool2-Apr-13 3:57 
AnswerRe: Silent installation - Invalid Re-install mode character error Pin
Pete O'Hanlon2-Apr-13 6:07
protectorPete O'Hanlon2-Apr-13 6:07 
GeneralRe: Silent installation - Invalid Re-install mode character error Pin
sonia$cool3-Apr-13 4:01
membersonia$cool3-Apr-13 4:01 
GeneralRe: Silent installation - Invalid Re-install mode character error Pin
Pete O'Hanlon3-Apr-13 4:04
protectorPete O'Hanlon3-Apr-13 4:04 
GeneralRe: Silent installation - Invalid Re-install mode character error Pin
sonia$cool3-Apr-13 4:24
membersonia$cool3-Apr-13 4:24 
GeneralRe: Silent installation - Invalid Re-install mode character error Pin
Pete O'Hanlon3-Apr-13 4:32
protectorPete O'Hanlon3-Apr-13 4:32 
GeneralRe: Silent installation - Invalid Re-install mode character error Pin
sonia$cool3-Apr-13 4:36
membersonia$cool3-Apr-13 4:36 
Questionget datetime values from database in dd/MM/yyyy HH:mm:ss format irrespective of system date/time format Pin
NarVish2-Apr-13 3:24
memberNarVish2-Apr-13 3: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
hemantrautela2-Apr-13 3:41
memberhemantrautela2-Apr-13 3: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 19:55
memberNarVish2-Apr-13 19:55 
QuestionLeft click works right does not Pin
electriac2-Apr-13 0:29
memberelectriac2-Apr-13 0:29 
QuestionRe: Left click works right does not Pin
Eddy Vluggen2-Apr-13 0:33
mvpEddy Vluggen2-Apr-13 0:33 
AnswerRe: Left click works right does not Pin
electriac2-Apr-13 0:39
memberelectriac2-Apr-13 0:39 
AnswerRe: Left click works right does not Pin
electriac2-Apr-13 0:50
memberelectriac2-Apr-13 0:50 
AnswerRe: Left click works right does not Pin
Richard MacCutchan2-Apr-13 2:14
mvpRichard MacCutchan2-Apr-13 2:14 
GeneralRe: Left click works right does not Pin
electriac2-Apr-13 2:41
memberelectriac2-Apr-13 2:41 
GeneralRe: Left click works right does not Pin
electriac2-Apr-13 2:45
memberelectriac2-Apr-13 2:45 
GeneralRe: Left click works right does not Pin
Richard MacCutchan2-Apr-13 2:50
mvpRichard MacCutchan2-Apr-13 2:50 
AnswerRe: Left click works right does not Pin
Bernhard Hiller2-Apr-13 21:26
memberBernhard Hiller2-Apr-13 21:26 
AnswerRe: Left click works right does not Pin
raeeschaudhary2-Apr-13 21:41
memberraeeschaudhary2-Apr-13 21:41 
QuestionRead PDF Pin
Kevin Marois1-Apr-13 12:53
memberKevin Marois1-Apr-13 12:53 
AnswerRe: Read PDF Pin
Eddy Vluggen1-Apr-13 13:15
mvpEddy Vluggen1-Apr-13 13:15 
GeneralRe: Read PDF Pin
Kevin Marois1-Apr-13 13:16
memberKevin Marois1-Apr-13 13:16 
GeneralRe: Read PDF Pin
Eddy Vluggen1-Apr-13 13:21
mvpEddy Vluggen1-Apr-13 13:21 
AnswerRe: Read PDF Pin
Abhinav S1-Apr-13 20:47
mvpAbhinav S1-Apr-13 20:47 
QuestionFavorites from HTML Pin
MAW301-Apr-13 12:15
memberMAW301-Apr-13 12:15 
AnswerRe: Favorites from HTML Pin
Eddy Vluggen1-Apr-13 13:20
mvpEddy Vluggen1-Apr-13 13:20 
QuestionOpenOffice API for DotNet Pin
ASPnoob1-Apr-13 6:45
memberASPnoob1-Apr-13 6:45 
AnswerRe: OpenOffice API for DotNet Pin
ThePhantomUpvoter1-Apr-13 7:13
memberThePhantomUpvoter1-Apr-13 7:13 
QuestionEach page of report viewer contain single report(.rdlc) Pin
M. K. BASHER1-Apr-13 2:23
memberM. K. BASHER1-Apr-13 2:23 
QuestionHow to use IWin32Window Pin
mhd almidani31-Mar-13 23:31
membermhd almidani31-Mar-13 23:31 
AnswerRe: How to use IWin32Window Pin
Eddy Vluggen1-Apr-13 0:03
mvpEddy Vluggen1-Apr-13 0:03 
GeneralRe: How to use IWin32Window Pin
mhd almidani1-Apr-13 5:09
membermhd almidani1-Apr-13 5:09 
GeneralRe: How to use IWin32Window Pin
Alan N1-Apr-13 5:24
memberAlan N1-Apr-13 5:24 
GeneralRe: How to use IWin32Window Pin
mhd almidani1-Apr-13 20:35
membermhd almidani1-Apr-13 20:35 
GeneralRe: How to use IWin32Window Pin
Eddy Vluggen1-Apr-13 11:34
mvpEddy Vluggen1-Apr-13 11:34 
AnswerRe: How to use IWin32Window Pin
Richard MacCutchan1-Apr-13 0:03
mvpRichard MacCutchan1-Apr-13 0:03 
QuestionCustom TabControl: Designer adds TabPages in wrong order! Pin
Revolty31-Mar-13 9:33
memberRevolty31-Mar-13 9:33 
AnswerRe: Custom TabControl: Designer adds TabPages in wrong order! Pin
Revolty7-Apr-13 5:18
memberRevolty7-Apr-13 5:18 
Questionكيف البحث عن ملفات محرر التسجيل Pin
reemaziz31-Mar-13 6:13
memberreemaziz31-Mar-13 6:13 
AnswerRe: كيف البحث عن ملفات محرر التسجيل Pin
Kenneth Haugland31-Mar-13 6:49
memberKenneth Haugland31-Mar-13 6:49 
AnswerRe: كيف البحث عن ملفات محرر التسجيل Pin
Richard MacCutchan31-Mar-13 8:02
mvpRichard MacCutchan31-Mar-13 8:02 
Questioninsatling mssql server 2008r2 Pin
Ashbinsapkota31-Mar-13 5:39
memberAshbinsapkota31-Mar-13 5:39 
AnswerRe: insatling mssql server 2008r2 Pin
Pete O'Hanlon31-Mar-13 5:52
protectorPete O'Hanlon31-Mar-13 5:52 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.160919.1 | Last Updated 26 Sep 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid