I am using a repeater to show an image but if there is no image in database i want a default image there so how can i do this? please help
How to show default image if there is no image in database i
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Bhavesh JadavRank #1,731 · 875 reputationPosted Mar 28, 2018, 11:34 PM EDT
step-1 : put one image at specific location
example : SELECT ISNULL(IMAGE,'~/MyProject/defaultimage.jpg') AS IMAGE from Table
try it, it will work
Thanks.