Author: pontymython | Posted on: 10/21/2009 2:50:50 AM | Views : 259

Hi everyone,
I've done a lot of web development in my time, largely in PHP and i'm checking out ASP.NET (with C#) - i'm stuck on something really simple which neither my asp.net 'for beginners' or my asp.net 'for pros' book seems to deal with.


I want to have a simple input array like this:
<input name="rowNames[0]" value="defaultValue" />
<input name="rowNames[1]" value="defaultValue" />
<input name="rowNames[2]" value="defaultValue" />


On Postback (i.e. when my asp:button submit button is pressed and my onclick'ed Submit_Click method is triggered) I want to be able to get the value of this array, I thought I could do this with Request.Form.Get("rowNames") but that appears to return null, is there something fundamental i'm missing?
The only help i've found elsewhere online seems to be ' ...

Go to the complete details ...