i have this code..
<table class="dashboard-table">
<thead>
<tr>
<th> </th>
<th>Worked</th>
</tr>
</thead>
<%
foreach (var e in Model.ExceptionsByType)
{
%>
<tr>
<td>
<%=Html.ActionLink(e.ExceptionTypeName, "VirtualScrollingDataRequested", Model.exceptionCategory.GetControllerName(), new { C_EXCPT_TYPE = e.ExceptionTypeID, GUI_SPEC_STAT_DSPL = 2, C_EXCPT_CATG = Model.exceptionCategory.Id, @ASSET_CLASS = string.Empty, @INST_MNEM = string.Empty, @_lock = "ALL" }, new { @title = e.BuildGridTitle(2, e.ExceptionTypeName) })%>
</td>
<td class="number">
<%=e.WorkedExceptions %>
</td>
</tr>
<%
} %>
</table>
e.WorkedExceptions is the count of exceptions..
I need to to the condition here if the e.workedexceptions == 0
I need to remove the link?
please can any body hlep me out?
thanks