Anil Kumar

Anil Kumar

  • 650
  • 1.3k
  • 133.2k

Data Binding with EVAL

Nov 10 2016 12:42 AM
 
   <%#(Eval("item") == null ? "" : "/"+ Eval("item"))%>
 
May i use "/ " before data if item is not null.....if item will be null then "/" will not display on UI..?
 
or there are any other way to use ?
 
 
 

Answers (3)