Tuesday, July 7, 2009

ASP - Generate Alphabet List


<select name="letter" size="1">
<%
For i = Asc("A") to Asc("Z")
Response.Write "<option>" & Chr(i) & "</option>"
Next
%>
</select>

No comments:

Post a Comment