<a href="#" id="lnktest">Test</a>
<div id="Ratinggrd"> <table cellpadding="0" cellspacing="0"> <colgroup> <col width="10%" /> <col width="10%" /> </colgroup> <tbody> @if (Model != null) { for (int count = 0; count < Model.Count; count++) { <tr class="@(count % 2 == 0 ? "even" : "odd")" > <td class="even"> <span>@Model[count].ABC</span> </td> <td class="odd"> <span>@Model[count].XYZ</span> </td> </tr> } } </tbody> </table> </div>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)