How do i do this
If this the image column in database is empty hide this image from page
<asp:Image ID="Image3" runat="server" class="" Style="width: 100%" ImageUrl='<%# "UserImage/"+Eval("ImageName1")%>' />
Oh I have seen the error , when ever I insert data into table it mistakenly inserts 'NULL ' into imagename column giving the code false impression that the image column is not empty. so now I have corrected that and it's ok .
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.