asp.net mvc table array binding arbitrary indices

Code Example - asp.net mvc table array binding arbitrary indices

                
                        <td hidden="true">
                <input type="hidden" name="priorities.Index" value="@idx" />
                <input type="hidden" name="priorities[@idx].pAfxonArithmos" id="priorities-AfxonArithmos-@currentItem.AfxonArithmos" value="@currentItem.AfxonArithmos"/>
            </td>
            <td hidden="true"><input type="hidden" name="priorities[@idx].pProteraiotita" id="priorities-Proteraiotita-@currentItem.AfxonArithmos" value="@currentItem.Proteraiotita"/></td>