Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IF vs IIF
Message
 
À
08/04/2002 10:05:09
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00642169
Message ID:
00642320
Vues:
13
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform