<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% Dim Recordset1 Dim Recordset1_numRows Set Recordset1 = Server.CreateObject("ADODB.Recordset") Recordset1.ActiveConnection = MM_antichi_STRING Recordset1.Source = "SELECT * FROM sezioni ORDER BY sezione ASC" Recordset1.CursorType = 0 Recordset1.CursorLocation = 2 Recordset1.LockType = 1 Recordset1.Open() Recordset1_numRows = 0 %> <% Dim Repeat1__numRows Dim Repeat1__index Repeat1__numRows = -1 Repeat1__index = 0 Recordset1_numRows = Recordset1_numRows + Repeat1__numRows %>

[seleziona la sezione]
<% While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF)) %>
value="<%= (Recordset1.Fields.Item("sezione").Value) %>" type="radio" name="sezione"> <%=(Recordset1.Fields.Item("sezione").Value)%>
<% Repeat1__index=Repeat1__index+1 Repeat1__numRows=Repeat1__numRows-1 Recordset1.MoveNext() Wend %>
 
<% Recordset1.Close() Set Recordset1 = Nothing %>