i'm trying to make an if statment in asp.net. the if statement is done in the listView . but its not working ! all the if statement is been viewed upon runtime
<ItemTemplate>
<div class="productItem">
<div>
<img src='<%# Eval("ProductImagePath") %>' alt="<%#Eval("ProductName") %>" height="120"
width="120" />
</a>
</div>
<div>
<br />
<b>
<%# Eval("ProductName") %></b>
If <%# Eval("CurrentStockQty") %> < 1 || null
Then
Response.Write("Out of Stock")
Else if <%# Eval("CurrentStockQty") %> < 5
Response.Write("Less than 5 available")
Else
Response.Write("In Stock")
End If
</div>
</div>
</ItemTemplate>