Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
132 Points
221 Posts
Mar 22, 2012 12:11 PM|LINK
Ive tried doing that as per below, but if it is null, it fails and gives me a nullReferenceException
if ((Int64)(TempData["projectCode"]) > 0)
ngokal
Member
132 Points
221 Posts
Re: IF statement not working with TempData. How to access the actual Value so to be used in condi...
Mar 22, 2012 12:11 PM|LINK
Ive tried doing that as per below, but if it is null, it fails and gives me a nullReferenceException