Click here to Skip to main content
15,112,866 members
Home / Discussions / C#
   

C#

 
AnswerRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Richard MacCutchan26-Feb-13 23:33
mveRichard MacCutchan26-Feb-13 23:33 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah27-Feb-13 0:20
Membershoab.shah27-Feb-13 0:20 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Richard MacCutchan27-Feb-13 0:37
mveRichard MacCutchan27-Feb-13 0:37 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Pete O'Hanlon27-Feb-13 0:46
mvePete O'Hanlon27-Feb-13 0:46 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah27-Feb-13 1:12
Membershoab.shah27-Feb-13 1:12 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Pete O'Hanlon27-Feb-13 1:15
mvePete O'Hanlon27-Feb-13 1:15 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah27-Feb-13 1:18
Membershoab.shah27-Feb-13 1:18 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Pete O'Hanlon27-Feb-13 1:32
mvePete O'Hanlon27-Feb-13 1:32 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah27-Feb-13 2:07
Membershoab.shah27-Feb-13 2:07 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Richard MacCutchan27-Feb-13 4:46
mveRichard MacCutchan27-Feb-13 4:46 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Dave Kreskowiak27-Feb-13 2:07
mveDave Kreskowiak27-Feb-13 2:07 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah27-Feb-13 2:10
Membershoab.shah27-Feb-13 2:10 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Dave Kreskowiak27-Feb-13 2:19
mveDave Kreskowiak27-Feb-13 2:19 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah27-Feb-13 20:07
Membershoab.shah27-Feb-13 20:07 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Dave Kreskowiak28-Feb-13 2:29
mveDave Kreskowiak28-Feb-13 2:29 
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 PinPopular
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 
I have the following additional questions:

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?
2.Your code listed above will only compare by dates and will not include the time correct?
GeneralRe: C# datetime compared to sql server datetime Pin
Pete O'Hanlon27-Feb-13 5:12
mvePete O'Hanlon27-Feb-13 5:12 
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 

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.