flukester
asked on
Option Strict On disallows late binding with IIf
Why do I get a option strict on disallows late binding with the following code below?
<%#IIf(IsDBNull(Container. DataItem(" APSEVENT") ), "", "<img src=" & Container.DataItem("APSEVE NT") & " alt="""" />")%>
APSEVENT is a varchar(50)
Thanks
<%#IIf(IsDBNull(Container.
APSEVENT is a varchar(50)
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I can't remember the last time that I used Option Strict On. I feel like it is a crutch that covers up for good code design.
Bob
Bob
ASKER