Click here to Skip to main content
12,512,068 members (51,522 online)

.NET Framework

 
QuestionMethod Level security based on User logged in Pin
pankajbaunthiyal7-Jan-13 22:31
memberpankajbaunthiyal7-Jan-13 22:31 
AnswerRe: Method Level security based on User logged in Pin
Pete O'Hanlon7-Jan-13 23:44
protectorPete O'Hanlon7-Jan-13 23:44 
QuestionIOException was Unhandled Pin
jankevint7-Jan-13 15:39
memberjankevint7-Jan-13 15:39 
AnswerRe: IOException was Unhandled Pin
Richard MacCutchan7-Jan-13 22:24
mvpRichard MacCutchan7-Jan-13 22:24 
QuestionUser password encryption in .Net Framework 4.5 Pin
samijf6-Jan-13 21:11
membersamijf6-Jan-13 21:11 
AnswerRe: User password encryption in .Net Framework 4.5 Pin
Eddy Vluggen6-Jan-13 21:15
mvpEddy Vluggen6-Jan-13 21:15 
QuestionBuild Output Question Pin
Kevin Marois4-Jan-13 5:32
memberKevin Marois4-Jan-13 5:32 
AnswerRe: Build Output Question Pin
Richard MacCutchan4-Jan-13 6:13
mvpRichard MacCutchan4-Jan-13 6:13 
GeneralRe: Build Output Question Pin
Kevin Marois4-Jan-13 6:20
memberKevin Marois4-Jan-13 6:20 
GeneralRe: Build Output Question Pin
Richard MacCutchan4-Jan-13 6:58
mvpRichard MacCutchan4-Jan-13 6:58 
AnswerRe: Build Output Question Pin
Abhinav S4-Jan-13 6:20
mvpAbhinav S4-Jan-13 6:20 
AnswerRe: Build Output Question Pin
Sandeep Mewara4-Jan-13 6:28
mvpSandeep Mewara4-Jan-13 6:28 
QuestionNullable(Of Decimal) type variable is throwing exception "Nullable object must have a value." Pin
indian14327-Dec-12 18:14
memberindian14327-Dec-12 18:14 
AnswerRe: Nullable(Of Decimal) type variable is throwing exception "Nullable object must have a value." Pin
Eddy Vluggen28-Dec-12 8:41
memberEddy Vluggen28-Dec-12 8:41 
Sub Main()
    Dim d As Nullable(Of Integer)
    d = Nothing
    Console.WriteLine("d=", d)
    Console.ReadKey()
End Sub
Works fine for me. However, the line
wage.WorkHours = IIf(Not String.IsNullOrEmpty(temp.WorkHours), IIf(Decimal.TryParse(temp.WorkHours, tempDecimal), tempDecimal, CType(Nothing, System.Nullable(Of Decimal))), CType(Nothing, System.Nullable(Of Decimal)))
..is something I'd delete during a code-review. It's doing to much on a single line, making debugging harder. It's not C++, and there's no shame in using a line per statement.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

QuestionC# statement var indirect val Pin
codejuggler927-Dec-12 6:33
membercodejuggler927-Dec-12 6:33 
AnswerRe: C# statement var indirect val Pin
Dave Kreskowiak27-Dec-12 7:23
mvpDave Kreskowiak27-Dec-12 7:23 
GeneralRe: C# statement var indirect val Pin
codejuggler927-Dec-12 7:58
membercodejuggler927-Dec-12 7:58 
GeneralRe: C# statement var indirect val Pin
Dave Kreskowiak27-Dec-12 8:47
mvpDave Kreskowiak27-Dec-12 8:47 
QuestionNeeded: PGP source code Pin
Gregory.Gadow26-Dec-12 5:30
memberGregory.Gadow26-Dec-12 5:30 
AnswerRe: Needed: PGP source code Pin
Gregory.Gadow26-Dec-12 5:35
memberGregory.Gadow26-Dec-12 5:35 
QuestionPrivate byte is being increased continuously without any request Pin
nishantenet23-Dec-12 20:14
membernishantenet23-Dec-12 20:14 
AnswerRe: Private byte is being increased continuously without any request Pin
Dave Kreskowiak24-Dec-12 5:10
mvpDave Kreskowiak24-Dec-12 5:10 
AnswerRe: Private byte is being increased continuously without any request Pin
jschell24-Dec-12 7:57
memberjschell24-Dec-12 7:57 
QuestionMSI not taking/Installing .NET framework Pin
sjs4u19-Dec-12 17:25
membersjs4u19-Dec-12 17:25 
AnswerRe: MSI not taking/Installing .NET framework Pin
Dave Kreskowiak19-Dec-12 18:55
mvpDave Kreskowiak19-Dec-12 18:55 
QuestionEntity Framework is Updating other column also Pin
indian14319-Dec-12 15:51
memberindian14319-Dec-12 15:51 
QuestionUnable to start program http://localhost:1837/default.aspx using VS 2008 in Windows XP IE 8 Pin
sr15918-Dec-12 23:26
membersr15918-Dec-12 23:26 
SuggestionRe: Unable to start program http://localhost:1837/default.aspx using VS 2008 in Windows XP IE 8 Pin
Richard MacCutchan18-Dec-12 23:52
mvpRichard MacCutchan18-Dec-12 23:52 
QuestionCustomer Hacking System Time Pin
Klockness18-Dec-12 4:33
memberKlockness18-Dec-12 4:33 
AnswerRe: Customer Hacking System Time Pin
Richard MacCutchan18-Dec-12 6:46
mvpRichard MacCutchan18-Dec-12 6:46 
GeneralRe: Customer Hacking System Time Pin
Klockness18-Dec-12 10:25
memberKlockness18-Dec-12 10:25 
AnswerRe: Customer Hacking System Time Pin
Richard Deeming18-Dec-12 7:32
memberRichard Deeming18-Dec-12 7:32 
GeneralRe: Customer Hacking System Time Pin
Klockness18-Dec-12 10:26
memberKlockness18-Dec-12 10:26 
QuestionCan only book for yourself and not other users? Pin
xnaLearner17-Dec-12 1:26
memberxnaLearner17-Dec-12 1:26 
AnswerRe: Can only book for yourself and not other users? Pin
Richard MacCutchan17-Dec-12 3:27
mvpRichard MacCutchan17-Dec-12 3:27 
Questionusing [Authorize] mvc3 Pin
xnaLearner17-Dec-12 1:02
memberxnaLearner17-Dec-12 1:02 
QuestionRe: using [Authorize] mvc3 Pin
Eddy Vluggen17-Dec-12 1:08
memberEddy Vluggen17-Dec-12 1:08 
AnswerRe: using [Authorize] mvc3 Pin
xnaLearner17-Dec-12 1:25
memberxnaLearner17-Dec-12 1:25 
QuestionAdding a flash webcam photo capture Pin
lhsunshine16-Dec-12 19:33
memberlhsunshine16-Dec-12 19:33 
AnswerRe: Adding a flash webcam photo capture Pin
Eddy Vluggen17-Dec-12 0:42
memberEddy Vluggen17-Dec-12 0:42 
GeneralRe: Adding a flash webcam photo capture Pin
lhsunshine17-Dec-12 1:55
memberlhsunshine17-Dec-12 1:55 
AnswerRe: Adding a flash webcam photo capture Pin
Eddy Vluggen17-Dec-12 2:01
memberEddy Vluggen17-Dec-12 2:01 
GeneralRe: Adding a flash webcam photo capture Pin
lhsunshine17-Dec-12 2:07
memberlhsunshine17-Dec-12 2:07 
QuestionRe: Adding a flash webcam photo capture Pin
Eddy Vluggen17-Dec-12 2:09
memberEddy Vluggen17-Dec-12 2:09 
AnswerRe: Adding a flash webcam photo capture Pin
lhsunshine17-Dec-12 13:49
memberlhsunshine17-Dec-12 13:49 
AnswerRe: Adding a flash webcam photo capture Pin
Eddy Vluggen18-Dec-12 2:01
memberEddy Vluggen18-Dec-12 2:01 
GeneralRe: Adding a flash webcam photo capture Pin
lhsunshine18-Dec-12 18:03
memberlhsunshine18-Dec-12 18:03 
GeneralRe: Adding a flash webcam photo capture Pin
lhsunshine18-Dec-12 19:18
memberlhsunshine18-Dec-12 19:18 
GeneralRe: Adding a flash webcam photo capture Pin
Eddy Vluggen18-Dec-12 20:40
memberEddy Vluggen18-Dec-12 20:40 
GeneralRe: Adding a flash webcam photo capture Pin
lhsunshine19-Dec-12 2:28
memberlhsunshine19-Dec-12 2:28 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160929.1 | Last Updated 29 Sep 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid