Use the 'If condition' in Item Template [ASP]

后端 未结 1 1615
时光说笑
时光说笑 2020-12-04 04:31

I have two elements; and > in an ItemTemplate, I want to test the value <% # Eval (\"Url\")%>

1条回答
  •  无人及你
    2020-12-04 04:41

    You can use a ternary operator in the template and based on that outcome show/hide the correct element.

    
        
  • 0 讨论(0)
提交回复
热议问题