Click here to Skip to main content
15,916,692 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to save Datagridview data to Access database Pin
Paul Conrad24-Dec-07 6:08
professionalPaul Conrad24-Dec-07 6:08 
GeneralSync between a local and remote Dataset Pin
Are Jay23-Dec-07 16:11
Are Jay23-Dec-07 16:11 
GeneralRe: Sync between a local and remote Dataset Pin
Are Jay23-Dec-07 16:38
Are Jay23-Dec-07 16:38 
GeneralRe: Sync between a local and remote Dataset Pin
Are Jay23-Dec-07 18:11
Are Jay23-Dec-07 18:11 
Generalclick a button with httpwebrequest Pin
brsecu23-Dec-07 15:54
brsecu23-Dec-07 15:54 
GeneralRe: click a button with httpwebrequest Pin
Ravi Bhavnani23-Dec-07 21:47
professionalRavi Bhavnani23-Dec-07 21:47 
GeneralRe: click a button with httpwebrequest Pin
techbrij15-Jul-10 18:51
techbrij15-Jul-10 18:51 
QuestionHow to joint two wmv files (same framerate, resolution..) Pin
Stumproot23-Dec-07 10:48
Stumproot23-Dec-07 10:48 
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 

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.