Hi -

I did this in asp and am converting to asp.net

On a form I have fields with values from 3 separate tables.

For 1 table which is a array of counties I create a "dynamic" array of controls within a div tag

The div tag contents can be changed via the innerHTML tag

<div id="countrylist">
<table>
<tr>
<td><input type="hidden" name="hdnCountryID" value="1">US</td>
</tr>
<tr>
<td><input type="hidden" name="hdnCountryID" value="2">Mexico</td>
</tr>

</table>
</div>

For example there is a hidden field and then the country name is show within a td tag.

The fields are first populated on the data load - however the user can add additional values to the array by opening a popup window and selecting country values from a list box. I then call a javascript function in which I rebuild the table with what is already there, adding a new row for the new value from the popup and set the div.innerHTML. You might want to think of this as a dynamic array of controls

Is this possible in .Net?

Thanks!