Skip to content

Instantly share code, notes, and snippets.

@FrankFan
Created April 21, 2014 06:59
Show Gist options
  • Save FrankFan/11134469 to your computer and use it in GitHub Desktop.
Save FrankFan/11134469 to your computer and use it in GitHub Desktop.
前台aspx页面输出for循环
前台aspx页面输出for循环
<% string[] arr = new string[] { "1", "2", "3" };%>
<% for (int i = 0; i < arr.Length; i++)
{%>
<%= arr[i] + " " %>
<%}%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment