Below is my code in HTML
<% for (int i = 2; i < 8; i++)
{%>
hello <% i.ToString();%>
<% } %>
What i expect outupt is
hello2 hello3 hello4 hello5 hello6 hello7
But it does not append i values, it simply printing the hello 6 times
This is just a overview of a concept that i want to implement, i have many other alternates to do the same, but just I wanna know what i am doing wrong, because i think this can be done
Please advise Thanks