我想使用html将复选框值发布到服务器。但我的代码没有检索任何东西。请帮忙。HTML中的POST复选框值
<form action="Default2.aspx" method="post" >
<input type="checkbox" name="attempt" value="101"> I'st attempt<br>
<input type="checkbox" name="attempt" value="102" checked> 2nd attempt<br>
<input type="submit" value="Submit">
</form>
你可以告诉我们一些代码片段,你如何检索服务器端的值.. – Pranav 2013-05-14 04:34:49
试着在你的web配置文件中加入这一行: - “ –
Pranav
2013-05-14 04:52:09