I have declared a variable lenght in my javascript tag and now i want to use that 'length' variable in html table tag how to use that in razor engine. i have tried
<table>
<tr>
@for(var i=0;i<@lenght;i++)//this is not working
{some code}
</tr>
</table>
any suggestions?