Click here to Skip to main content
15,893,588 members
Home / Discussions / C#
   

C#

 
AnswerRe: c# field type is less accessible than field PinPopular
Richard Deeming27-Feb-13 9:41
mveRichard Deeming27-Feb-13 9:41 
AnswerRe: c# field type is less accessible than field Pin
Matt T Heffron27-Feb-13 9:49
professionalMatt T Heffron27-Feb-13 9:49 
Question[DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah26-Feb-13 20:04
shoab.shah26-Feb-13 20:04 
AnswerRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Richard MacCutchan26-Feb-13 22:33
mveRichard MacCutchan26-Feb-13 22:33 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah26-Feb-13 23:20
shoab.shah26-Feb-13 23:20 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Richard MacCutchan26-Feb-13 23:37
mveRichard MacCutchan26-Feb-13 23:37 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Pete O'Hanlon26-Feb-13 23:46
mvePete O'Hanlon26-Feb-13 23:46 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah27-Feb-13 0:12
shoab.shah27-Feb-13 0:12 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Pete O'Hanlon27-Feb-13 0:15
mvePete O'Hanlon27-Feb-13 0:15 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah27-Feb-13 0:18
shoab.shah27-Feb-13 0:18 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Pete O'Hanlon27-Feb-13 0:32
mvePete O'Hanlon27-Feb-13 0:32 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah27-Feb-13 1:07
shoab.shah27-Feb-13 1:07 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Richard MacCutchan27-Feb-13 3:46
mveRichard MacCutchan27-Feb-13 3:46 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Dave Kreskowiak27-Feb-13 1:07
mveDave Kreskowiak27-Feb-13 1:07 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah27-Feb-13 1:10
shoab.shah27-Feb-13 1:10 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Dave Kreskowiak27-Feb-13 1:19
mveDave Kreskowiak27-Feb-13 1:19 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah27-Feb-13 19:07
shoab.shah27-Feb-13 19:07 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Dave Kreskowiak28-Feb-13 1:29
mveDave Kreskowiak28-Feb-13 1:29 
QuestionC# datetime compared to sql server datetime Pin
classy_dog26-Feb-13 18:45
classy_dog26-Feb-13 18:45 
AnswerRe: C# datetime compared to sql server datetime Pin
Pete O'Hanlon26-Feb-13 19:36
mvePete O'Hanlon26-Feb-13 19:36 
The problem is most likely down to the fact that you aren't actually testing what you think you are. The DateTime object has milliseconds associated with it, so if you forget to take those into account, you'll find that you don't get a match.
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

AnswerRe: C# datetime compared to sql server datetime Pin
Mangal Deep Gupta26-Feb-13 23:11
Mangal Deep Gupta26-Feb-13 23:11 
GeneralRe: C# datetime compared to sql server datetime Pin
Pete O'Hanlon27-Feb-13 0:07
mvePete O'Hanlon27-Feb-13 0:07 
GeneralRe: C# datetime compared to sql server datetime Pin
classy_dog27-Feb-13 2:04
classy_dog27-Feb-13 2:04 
GeneralRe: C# datetime compared to sql server datetime Pin
Pete O'Hanlon27-Feb-13 2:13
mvePete O'Hanlon27-Feb-13 2:13 
GeneralRe: C# datetime compared to sql server datetime Pin
classy_dog27-Feb-13 3:56
classy_dog27-Feb-13 3:56 

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.