mrong
asked on
Conversion from DBNull to type string is invalid
Greeting,
I got error message "Conversion from DBNull to type string is invalid" at the following line. I thought we if stmt had took care the DBNull condition. Any help will be appreciated.
<%#IIf(String.IsNullOrEmpt y(DataBind er.Eval(Co ntainer.Da taItem, "location")), "None", (DataBinder.Eval(Container .DataItem, "location")))%>
I got error message "Conversion from DBNull to type string is invalid" at the following line. I thought we if stmt had took care the DBNull condition. Any help will be appreciated.
<%#IIf(String.IsNullOrEmpt
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.