出来るのだASP Q&A掲示板(過去LOG)
訪問数 52046
昨日 889
今日 776 【PR】 パソコン入門からIT専門書まで幅広く取り揃えています。セブン-イレブン受取り手数料無料のセブンアンドワイ。 |
![]() ![]() ![]() ![]() ![]() |
[2767] Re:RecordCount |
投稿者:RIUさん 2002/10/04 11:16:12 |
RIUです。 '---hoge.asp--- <html> <head></head> <body> <form method="post" action="main.asp"> <% n=1 for n=1 to 10 %> <br><input type="checkbox" name="CHECK<%=n %>" value="True" /><%=n %> <% next %> <input type="hidden" name="n" value="<%=n-1 %>" /> <input type="submit" value="送信" /> </form> </body> </html> '---main.asp--- <html> <head></head> <body> <% For i=1 To (Request.Form("n")) CHECK=Request.Form("CHECK" & i) If CBool(Request.Form("CHECK"&i)) = True Then Response.Write "<br>チェックされています"& i End If Next Response.Write "<br>チェックされている物のみ表示しました。" %> </body> </html> こういった事がしたいのでは? |
![]() ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
TreeBBS For ASP V.0.1.3 |