Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IF vs IIF
Message
 
To
08/04/2002 10:05:09
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00642169
Message ID:
00642320
Views:
12
>How can I change the IIF to allow the command?

Iif requires explicit casting from object

CType(IIf(chkDisc.Checked, "1", "0"), String)

It makes sense if you think about it, even though it is inconvenient.
Previous
Reply
Map
View

Click here to load this message in the networking platform