how to give alternative image for i frame in asp.net

Nov 16 2017 3:09 AM
how to give alternative image for i frame in asp.net?
<iframe name="myIframe" id="myIframe" src='<%# String.Format(Eval("link_path").ToString().Replace("autoplay=0","autoplay=0")) %>' runat="server"></iframe> 
 
but if(llink_path) coming from api if there is no link means i need to show any image how can i show image(with out code behind) 

Answers (1)