Dynamically generated rows in Repeater only saves the first row.
-
Greetings again, Maybe, some expert can help me out on this one. I am using Repeater control to dynamically add rows to the table using DropDownList. The DropDownList has only 3 values. A user selects value="1", one row is created. A user selects value="2", two rows are created; a user selects value="3", three rows are created. Whether the user adds three rows or less depends on his/her needs and depends on what number is selected from the DropDownList. This part works great. The row can have up to 8 columns but for simplicity, I added just 3 columns. The issue that I have is when I enter data into one row, it saves the data correctly. However, when I add two or more rows, only the first row is saved to the database. The rest is ignored. I tried so hard to resolve this without having to come here to bother you guys but unfortunately, I am being pressed by deadline. Your expert assistance is greatly appreciated in advance. Here is the relevant code; '//HTML
**Toilet Size**
Item 1
Item 2