<html>
<head>
<title>计数器组件示例</title>
</head>
<body>
<form name="form1" action="" method="post">
<p>普通本科院校的教育目，请选择：<BR>
培养专业技能<input type="radio" name="opt" value="K"><BR>
提高国民素质<input type="radio" name="opt" value="L"><BR>
<input type="submit" value="提交">&nbsp;&nbsp;&nbsp;&nbsp;
<input type="reset" value="重置">
</form>
<center>当前统计结果如下：</center>
<%
set ASPCounters=server.CreateObject("MSWC.Counters")
if request.Form("opt")<>"" then
op=request.Form("opt")
select case op
case "K"
 ASPCounters.increment("K")
case "L"
 ASPCounters.increment("L")
end select
%>
<hr>
培养专业技能人才:<% =ASPCounters.get("K") %><BR>
提高国民文化素质:<% =ASPCounters.get("L") %><BR>
<%END IF%>
</body>
</html>
