title: ASP.NET Code behind form rows
body: <p>I'm trying add multiple items to a database table. I've created a form that will allow the user to add more form rows which include a dropdown and multiple input fields. New fields are generated when the user clicks on "+". This is developed using JavaScript.</p>
  
  <p>It is easy to add an incremented value to an ID using JavaScript, but new rows are not made using the <code>runat="server"</code> so I am afraid my code behind won't see the values in the fields.</p>
  
  <p>I want my code to loop through each form "row" and grab each item. Then take this data and insert it into a SQL database. How do I get that working? <a href="https://i.stack.imgur.com/DrW6C.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DrW6C.jpg" alt="enter image description here"></a></p>