Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

condition in listview

$
0
0

<td>
<asp:Label runat="server" style="display:none"><%# Convert.ToInt32(Eval("ElapsedMilliseconds")) < Convert.ToInt32(Eval("Green"))%></asp:Label>
<img src="img/green.png" alt="green_status" width="10" height="10" /></td>
<td> <asp:Label runat="server" style="display:none"><%# Convert.ToInt32(Eval("ElapsedMilliseconds")) >= Convert.ToInt32(Eval("Green")) && Convert.ToInt32(Eval("ElapsedMilliseconds")) < Convert.ToInt32(Eval("Orange"))%></asp:Label>
<img src="img/orange.png" alt="orange_status" width="10" height="10" />

</td>

if i give both the condition value is display in list view please give some suggestion 


Viewing all articles
Browse latest Browse all 555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>