How to write a name as an array, mvc

Posted by user281180 on Stack Overflow See other posts from Stack Overflow or by user281180
Published on 2010-04-30T10:14:33Z Indexed on 2010/04/30 10:17 UTC
Read the original article Hit count: 120

Filed under:

I have the following code:

<%int count = 0; %>
<input type="checkbox"  name="Name["'<%count++;%>'"]" />

The name isnt being rendered as expected, its being rendered as name="IssueCreate["''"]" />

How can I correct that?

© Stack Overflow or respective owner

Related posts about asp.net-mvc