<!DOCTYPE html>
<html>
<%
dim cars
cars=Request.Form("cars")
%>

<body>
<form action="demo_radiob.asp" method="post">
<p>请选择您最喜欢的汽车:</p>

<input type="radio" name="cars"
<%if cars="Volvo" then Response.Write("checked")%>
value="Volvo">沃尔沃
<br>
<input type="radio" name="cars"
<%if cars="Saab" then Response.Write("checked")%>
value="Saab">萨博
<br>
<input type="radio" name="cars"
<%if cars="BMW" then Response.Write("checked")%>
value="BMW">宝马
<br><br>
<input type="submit" value="提交" />
</form>
<%
if cars<>"" then
   Response.Write("<p>您最喜欢的汽车是: " & cars & "</p>")
end if
%>

</body>
</html>