hi according to this thread
http://www.aspforums.net/Threads/370912/Hide-the-Image-Control-in-DataList-if-image-does-not-exist-in-DataBase/
i thought that it solved my problem but when i test it again i found that it didn't work correctly
it didn't show div
if there was image or there wasn't image in database it didn't show div
i want it doesn't show div if there wasn't any image in database
thanks
You need to decide what is the value stored if image is not present. it is not working because that person checks for null and if you have blank in database the condition will fail
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.