Wow. Yes and no.<BR><BR>Perhaps the best way is to convert it to a single long string and store it in a hidden form field. Then, in the ASP page, you "decode" the string and make it into a 2D array again.<BR><BR>Suppose you had the 2D array:<BR><BR>1 Bill 1967<BR>8 John 1982<BR><BR>You could encode that as<BR><BR>1#Bill#1967$$8#John#1982<BR><BR>Then your ASP code could do:<BR><BR><%<BR>str = Request.Form("theHiddenField")<BR>rows = Split( str, "$$" ) ' split it into rows<BR>cols = Split( rows(0), "#" ) ' get columns for first row<BR><BR>rowcnt = UBound(rows)<BR>colcnt = UBound(cols)<BR><BR>Dim ar( )<BR>ReDim ar( rowcnt, colcnt )<BR>For row = 0 To rowcnt<BR> cols = rows( row )<BR> For col = 0 To colcnt<BR> ar( row, col ) = cols( col )<BR> Next<BR>Next<BR>%><BR><BR>Hokay? There are other ways, but this may be simplest.<BR><BR>
Yes, I think your way would work. However what I have to do is I have a form let say first name and last name. I have to some how allow my user to enter data into the form. Also they want to be able to queue multiple record before submit it to the next page to then get all that information write it into a text.txt file. <BR><BR>I have thought to used session variable then keep concatinating the string then when I submit the information I can parse the string to get the right information. However I don't know if this is the right ways to do it or not.