Click here to Skip to main content
14,423,257 members
   

C#

 
GeneralRe: GetValueOrDefault() Throws Pin
Eddy Vluggen15-Nov-19 10:16
mveEddy Vluggen15-Nov-19 10:16 
GeneralRe: GetValueOrDefault() Throws Pin
Kevin Marois15-Nov-19 10:23
professionalKevin Marois15-Nov-19 10:23 
GeneralRe: GetValueOrDefault() Throws Pin
Eddy Vluggen16-Nov-19 1:31
mveEddy Vluggen16-Nov-19 1:31 
QuestionRe: GetValueOrDefault() Throws Pin
Eddy Vluggen17-Nov-19 1:34
mveEddy Vluggen17-Nov-19 1:34 
AnswerRe: GetValueOrDefault() Throws Pin
Richard Deeming17-Nov-19 23:53
communityengineerRichard Deeming17-Nov-19 23:53 
GeneralRe: GetValueOrDefault() Throws Pin
Kevin Marois18-Nov-19 9:40
professionalKevin Marois18-Nov-19 9:40 
GeneralRe: GetValueOrDefault() Throws Pin
Richard Deeming18-Nov-19 9:48
communityengineerRichard Deeming18-Nov-19 9:48 
GeneralRe: GetValueOrDefault() Throws Pin
Kevin Marois18-Nov-19 9:54
professionalKevin Marois18-Nov-19 9:54 
That worked. Thanks!

Interesting though, you would think that in a Linq To SQL statement that the default for that would be SqlDateTime.MinValue.Value.

Also, any reason to use this syntax over
ModifiedDT = u.ModifiedDT.Value

Seems like they're both doing the same thing and it's less verbose.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

GeneralRe: GetValueOrDefault() Throws Pin
Richard Deeming18-Nov-19 10:00
communityengineerRichard Deeming18-Nov-19 10:00 
GeneralRe: GetValueOrDefault() Throws Pin
Kevin Marois18-Nov-19 10:02
professionalKevin Marois18-Nov-19 10:02 
GeneralRe: GetValueOrDefault() Throws Pin
Richard Deeming18-Nov-19 10:04
communityengineerRichard Deeming18-Nov-19 10:04 
GeneralRe: GetValueOrDefault() Throws Pin
Kevin Marois18-Nov-19 10:24
professionalKevin Marois18-Nov-19 10:24 
QuestionDAL Exception Handling Pin
Kevin Marois15-Nov-19 5:33
professionalKevin Marois15-Nov-19 5:33 
AnswerRe: DAL Exception Handling Pin
Pete O'Hanlon15-Nov-19 5:40
communityengineerPete O'Hanlon15-Nov-19 5:40 
GeneralRe: DAL Exception Handling Pin
OriginalGriff15-Nov-19 6:04
communityengineerOriginalGriff15-Nov-19 6:04 
GeneralRe: DAL Exception Handling Pin
Kevin Marois15-Nov-19 7:01
professionalKevin Marois15-Nov-19 7:01 
GeneralRe: DAL Exception Handling Pin
OriginalGriff15-Nov-19 7:19
communityengineerOriginalGriff15-Nov-19 7:19 
GeneralRe: DAL Exception Handling Pin
Pete O'Hanlon18-Nov-19 5:43
communityengineerPete O'Hanlon18-Nov-19 5:43 
AnswerRe: DAL Exception Handling Pin
Gerry Schmitz15-Nov-19 6:21
mveGerry Schmitz15-Nov-19 6:21 
GeneralRe: DAL Exception Handling Pin
Kevin Marois15-Nov-19 6:59
professionalKevin Marois15-Nov-19 6:59 
GeneralRe: DAL Exception Handling Pin
Gerry Schmitz16-Nov-19 3:45
mveGerry Schmitz16-Nov-19 3:45 
SuggestionRe: DAL Exception Handling Pin
Richard Deeming15-Nov-19 6:29
communityengineerRichard Deeming15-Nov-19 6:29 
GeneralRe: DAL Exception Handling Pin
Kevin Marois15-Nov-19 6:55
professionalKevin Marois15-Nov-19 6:55 
GeneralRe: DAL Exception Handling Pin
Richard Deeming15-Nov-19 7:43
communityengineerRichard Deeming15-Nov-19 7:43 
QuestionLINQ sort and group dates by month and day, ignore year Pin
Mc_Topaz15-Nov-19 1:38
MemberMc_Topaz15-Nov-19 1:38 

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.