System Type: Web Application
One requirement of the system is to dynamically create a table on client-side (Javascripting using createElement method.) The table has textboxes inside each cell.
a few sample code:
Expand|Select|Wrap|Line Numbers
- for (i = 0; i < 4; i ++) // four columns
- {
- textBoxes = document.createElement("INPUT");
- textBoxes.type = "text";
- textBoxes.id = "txt1";
- textBoxes.name = "txtA";
- cell.appendChild(textBoxes);
- }
These are my options to get the values:
1. Through querystring -> but not possible because there are many values to be passed.
(sample: WebForm2.aspx?v alue1=&value2)
2. Also tried getting it by Request.Form["txtA"]
I can get the values but it is comma delimited. I cannot get exact data when my input has "," in it.
(sample: Input1 = "a,b"; Input2= "c"; Request.Form["a,b,c"])
if to be split, 3 values will be returned instead of 2.
Maybe there's another option that you can suggest so I can retrieve those multiple data.
One more thing, I would like those data to be on one-time retrieval because in the INSERT process, I plan to include them on a loop inside a TRANSACTION statement so if one record encountered an error, all will ROLLBACK.