i want to bind image in image control but according to the value in Eval
if Eval == True then imageurl = "image1" else imageurl = "i开发者_Python百科mage"
how to write if condition with eval to get above output
Try
<%#(Eval("Columnname").ToString()=="True")?"Image1.jpg":"Image2.jpg"%>
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论