Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
AnswerRe: showing form from bottom wth timer Pin
Midnight Ahri17-Sep-13 17:26
Midnight Ahri17-Sep-13 17:26 
GeneralRe: showing form from bottom wth timer Pin
eng.iris18-Sep-13 7:13
eng.iris18-Sep-13 7:13 
Questionwpf backgroundworker, execution of processes one after another Pin
Member 974759714-Sep-13 19:55
Member 974759714-Sep-13 19:55 
AnswerRe: wpf backgroundworker, execution of processes one after another Pin
Abhinav S14-Sep-13 22:18
Abhinav S14-Sep-13 22:18 
QuestionSave Images in SQl Server Pin
sigridslima14-Sep-13 17:13
sigridslima14-Sep-13 17:13 
GeneralRe: Save Images in SQl Server Pin
PIEBALDconsult14-Sep-13 18:12
mvePIEBALDconsult14-Sep-13 18:12 
GeneralRe: Save Images in SQl Server Pin
sigridslima15-Sep-13 14:57
sigridslima15-Sep-13 14:57 
GeneralRe: Save Images in SQl Server Pin
PIEBALDconsult15-Sep-13 16:26
mvePIEBALDconsult15-Sep-13 16:26 
GeneralRe: Save Images in SQl Server Pin
sigridslima16-Sep-13 2:55
sigridslima16-Sep-13 2:55 
GeneralRe: Save Images in SQl Server Pin
PIEBALDconsult16-Sep-13 3:47
mvePIEBALDconsult16-Sep-13 3:47 
GeneralRe: Save Images in SQl Server Pin
sigridslima16-Sep-13 5:21
sigridslima16-Sep-13 5:21 
GeneralRe: Save Images in SQl Server Pin
PIEBALDconsult16-Sep-13 13:37
mvePIEBALDconsult16-Sep-13 13:37 
GeneralRe: Save Images in SQl Server Pin
sigridslima16-Sep-13 14:35
sigridslima16-Sep-13 14:35 
AnswerRe: Save Images in SQl Server Pin
OriginalGriff14-Sep-13 22:17
mveOriginalGriff14-Sep-13 22:17 
QuestionC# Application - SQL Syntax Problem Pin
Member 1026694314-Sep-13 16:34
Member 1026694314-Sep-13 16:34 
Hi All,

Im sure this is very simple but after googling for the past 4 hours i cannot seem to find the correct syntax.

I currenly have a SQL which amongst other tables has a DateTime Coloum in the folllowing Format:

2013-09-11 21:06:08:970

I am currently running the follow query from within my C# Application:
select * from table where errorcode = 448

What I would like to do is:
select * from table where errorcode = 448, where date = today

and also
select * from table where errorcode = 448, where date is between 2013-09-11 00:00:00:000 and 2013-09-11 23:59:59:999

I just cant figure out the correct syntax for the queries though.

Could anybody possible Help?

Many Thanks
SG
AnswerRe: C# Application - SQL Syntax Problem Pin
PIEBALDconsult14-Sep-13 17:17
mvePIEBALDconsult14-Sep-13 17:17 
GeneralRe: C# Application - SQL Syntax Problem Pin
Member 1026694315-Sep-13 11:03
Member 1026694315-Sep-13 11:03 
AnswerRe: C# Application - SQL Syntax Problem Pin
Dave Kreskowiak14-Sep-13 19:12
mveDave Kreskowiak14-Sep-13 19:12 
QuestionGet the value of RepositoryItemPictureEdit in GridControl Pin
nhanlaptrinh14-Sep-13 9:26
nhanlaptrinh14-Sep-13 9:26 
AnswerRe: Get the value of RepositoryItemPictureEdit in GridControl Pin
Richard MacCutchan14-Sep-13 21:45
mveRichard MacCutchan14-Sep-13 21:45 
QuestionDLLIMPORT - SENDMESSAGE Pin
M Riaz Bashir14-Sep-13 5:01
M Riaz Bashir14-Sep-13 5:01 
AnswerRe: DLLIMPORT - SENDMESSAGE Pin
Richard MacCutchan14-Sep-13 5:42
mveRichard MacCutchan14-Sep-13 5:42 
AnswerRe: DLLIMPORT - SENDMESSAGE Pin
TnTinMn14-Sep-13 8:39
TnTinMn14-Sep-13 8:39 
QuestionHelp Regarding Source Code Of Meshack Pin
Caiser Mahmood13-Sep-13 23:34
Caiser Mahmood13-Sep-13 23:34 
AnswerRe: Help Regarding Source Code Of Meshack Pin
Abhinav S14-Sep-13 0:51
Abhinav S14-Sep-13 0:51 

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.