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

C#

 
QuestionC# datetime compared to sql server datetime Pin
classy_dog26-Feb-13 19:45
Memberclassy_dog26-Feb-13 19:45 
AnswerRe: C# datetime compared to sql server datetime Pin
Pete O'Hanlon26-Feb-13 20:36
mvePete O'Hanlon26-Feb-13 20:36 
AnswerRe: C# datetime compared to sql server datetime Pin
Mangal Deep Gupta27-Feb-13 0:11
MemberMangal Deep Gupta27-Feb-13 0:11 
GeneralRe: C# datetime compared to sql server datetime Pin
Pete O'Hanlon27-Feb-13 1:07
mvePete O'Hanlon27-Feb-13 1:07 
GeneralRe: C# datetime compared to sql server datetime Pin
classy_dog27-Feb-13 3:04
Memberclassy_dog27-Feb-13 3:04 
GeneralRe: C# datetime compared to sql server datetime Pin
Pete O'Hanlon27-Feb-13 3:13
mvePete O'Hanlon27-Feb-13 3:13 
GeneralRe: C# datetime compared to sql server datetime Pin
classy_dog27-Feb-13 4:56
Memberclassy_dog27-Feb-13 4:56 
GeneralRe: C# datetime compared to sql server datetime Pin
Pete O'Hanlon27-Feb-13 5:12
mvePete O'Hanlon27-Feb-13 5:12 
classy_dog wrote:
1. The code you have above will let me compare a C# date to a sql server 2008 r2
date,correct? Is there any kind of a conversion needed?

Yes. No.

classy_dog wrote:
2.Your code listed above will only compare by dates and will not include the
time correct?

No. It's DateTime - the time component is included.
I was brought up to respect my elders. I don't respect many people nowadays.

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: C# datetime compared to sql server datetime Pin
Matt T Heffron27-Feb-13 11:07
professionalMatt T Heffron27-Feb-13 11:07 
GeneralRe: C# datetime compared to sql server datetime Pin
PIEBALDconsult27-Feb-13 4:31
professionalPIEBALDconsult27-Feb-13 4:31 
SuggestionRe: C# datetime compared to sql server datetime Pin
Matt T Heffron27-Feb-13 10:58
professionalMatt T Heffron27-Feb-13 10:58 
AnswerRe: C# datetime compared to sql server datetime Pin
jschell28-Feb-13 11:08
Memberjschell28-Feb-13 11:08 
QuestionList view Question Pin
Member 979920426-Feb-13 15:57
MemberMember 979920426-Feb-13 15:57 
AnswerRe: List view Question Pin
Richard MacCutchan26-Feb-13 23:31
mveRichard MacCutchan26-Feb-13 23:31 
AnswerRe: List view Question Pin
Amir Mohammad Nasrollahi29-Jul-13 22:29
professionalAmir Mohammad Nasrollahi29-Jul-13 22:29 
QuestionHow do I populate child elements in XML? Pin
Magela26-Feb-13 13:56
MemberMagela26-Feb-13 13:56 
AnswerRe: How do I populate child elements in XML? Pin
Mangal Deep Gupta27-Feb-13 0:24
MemberMangal Deep Gupta27-Feb-13 0:24 
GeneralRe: How do I populate child elements in XML? Pin
Magela27-Feb-13 5:26
MemberMagela27-Feb-13 5:26 
AnswerRe: How do I populate child elements in XML? Pin
Jegan Thiyagesan27-Feb-13 5:31
MemberJegan Thiyagesan27-Feb-13 5:31 
GeneralRe: How do I populate child elements in XML? Pin
Magela27-Feb-13 5:38
MemberMagela27-Feb-13 5:38 
QuestionOffice Development problems Pin
Daytona67526-Feb-13 12:32
MemberDaytona67526-Feb-13 12:32 
AnswerRe: Office Development problems Pin
Matt T Heffron26-Feb-13 12:58
professionalMatt T Heffron26-Feb-13 12:58 
AnswerRe: Office Development problems Pin
Jegan Thiyagesan27-Feb-13 6:04
MemberJegan Thiyagesan27-Feb-13 6:04 
GeneralRe: Office Development problems Pin
Matt T Heffron27-Feb-13 10:32
professionalMatt T Heffron27-Feb-13 10:32 
GeneralRe: Office Development problems Pin
Jegan Thiyagesan27-Feb-13 12:57
MemberJegan Thiyagesan27-Feb-13 12:57 

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.