#162003/3/31 18:27:30
晕。现在又有单选按钮组了。如何才能引用单选按钮组的值?
我需要判断单选的值,来改变文件中的数值。我是用asp来打开文件的。以下打???的地方错了。请教各位高手。
<%
sub diaochai()
set fs=server.CreateObject("scripting.filesystemobject")
counter_file=server.MapPath("/diaocha.txt")
set txt=fs.opentextfile(counter_file)
application("lan")=txt.readline
txt.close
if form.oneclick.value=1 then?????
application("lan")=application("lan")+1
end if?????
set txt=fs.createtextfile(counter_file,true)
txt.writeline(application("lan"))
txt.close
end sub
%>