asp.net - POST Checkbox value in HTML -


i want post checkbox values server using html. code retrieves nothing. please help.

<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> 

they need id's can referred , if web forms website need have attribute runat="server" both of them otherwise won't able access them.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -