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 11:57 AM|LINK
Hi,
I am trying to do the following but getting an error. How do i do an IF statment using TEMPDATA?
im trying to do this: The error is : Operator > cannot be applied to to operands of type object. I need to access the value of TEMPDATA
if (TempData["projectCode"] > 0)
ngokal
Member
132 Points
221 Posts
IF statement not working with TempData. How to access the actual Value so to be used in condition...
Mar 22, 2012 11:57 AM|LINK
Hi,
I am trying to do the following but getting an error. How do i do an IF statment using TEMPDATA?
im trying to do this: The error is : Operator > cannot be applied to to operands of type object. I need to access the value of TEMPDATA