Click here to Skip to main content
15,895,370 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to joint two wmv files (same framerate, resolution..) Pin
Sam Xavier17-Jan-08 23:45
Sam Xavier17-Jan-08 23:45 
GeneralRe: How to joint two wmv files (same framerate, resolution..) Pin
Stumproot18-Jan-08 7:30
Stumproot18-Jan-08 7:30 
GeneralClipboard and the DeviceIndependentBitmap format Pin
Mike Hankey23-Dec-07 8:59
mveMike Hankey23-Dec-07 8:59 
GeneralFind color in pixel. Pin
jafingi23-Dec-07 4:05
jafingi23-Dec-07 4:05 
GeneralRe: Find color in pixel. Pin
Kristian Sixhøj23-Dec-07 4:09
Kristian Sixhøj23-Dec-07 4:09 
GeneralRe: Find color in pixel. Pin
jafingi23-Dec-07 5:49
jafingi23-Dec-07 5:49 
GeneralRe: Find color in pixel. Pin
Kristian Sixhøj23-Dec-07 6:28
Kristian Sixhøj23-Dec-07 6:28 
GeneralComparing dates Pin
Demian Panello23-Dec-07 3:15
Demian Panello23-Dec-07 3:15 
Hi.

I'm writing an application that it use a SQL table for store and read data.
Sometime, I need to list all the registers between two dates, (there is a field of type datetime in the table).
So, I have to objects of type DateTime, ie, d1 and d2. Can anyone help me with the query string to list the registers between these two dates??.

Table name: Table1
Field datetime: birth

Query: "Select * from Table1 where birth > " + d1.toString() + " And birth <= " + d2.toString(); // It doesn't work.

I also tried with "#" characters between DateTime objects, but it doesn't work anyway.

Thanks.
Demian.

"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my telephone."

-Bjarne Stroustrup, computer science professor, designer of C++
programming language (1950- )

GeneralRe: Comparing dates Pin
Paul Conrad23-Dec-07 5:59
professionalPaul Conrad23-Dec-07 5:59 
GeneralRe: Comparing dates Pin
DannyAdler23-Dec-07 21:35
DannyAdler23-Dec-07 21:35 
GeneralRe: Comparing dates Pin
Paul Conrad24-Dec-07 4:43
professionalPaul Conrad24-Dec-07 4:43 
GeneralRe: Comparing dates Pin
DannyAdler24-Dec-07 21:12
DannyAdler24-Dec-07 21:12 
GeneralRe: Comparing dates Pin
GuyThiebaut23-Dec-07 6:03
professionalGuyThiebaut23-Dec-07 6:03 
GeneralI can't get a property to be serialized to InitializeComponenet() Pin
ctoma200523-Dec-07 1:39
ctoma200523-Dec-07 1:39 
QuestionHow to set keyboard hook in C# ? Pin
Yanshof23-Dec-07 0:15
Yanshof23-Dec-07 0:15 
AnswerRe: How to set keyboard hook in C# ? Pin
Anthony Mushrow23-Dec-07 0:29
professionalAnthony Mushrow23-Dec-07 0:29 
AnswerRe: How to set keyboard hook in C# ? Pin
Giorgi Dalakishvili23-Dec-07 8:08
mentorGiorgi Dalakishvili23-Dec-07 8:08 
QuestionHow can i controll an email through C# Pin
MissEng23-Dec-07 0:04
MissEng23-Dec-07 0:04 
GeneralRe: How can i controll an email through C# Pin
Christian Graus23-Dec-07 11:22
protectorChristian Graus23-Dec-07 11:22 
GeneralRe: How can i controll an email through C# Pin
MissEng23-Dec-07 12:47
MissEng23-Dec-07 12:47 
GeneralRe: How can i controll an email through C# Pin
Anthony Mushrow23-Dec-07 13:31
professionalAnthony Mushrow23-Dec-07 13:31 
GeneralRe: How can i controll an email through C# Pin
MissEng23-Dec-07 13:47
MissEng23-Dec-07 13:47 
GeneralSQlTransaction and SQlDatareader! Pin
Navneet Hegde22-Dec-07 23:45
Navneet Hegde22-Dec-07 23:45 
GeneralRe: SQlTransaction and SQlDatareader! Pin
Xmen Real 23-Dec-07 15:01
professional Xmen Real 23-Dec-07 15:01 
GeneralFind CD-RW Drive Pin
mina_raha9622-Dec-07 22:54
mina_raha9622-Dec-07 22:54 

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.