I want to get the name of the control using Item.Name.
However I am not using for Each Item in Upload.Form
I am looping through to get the total nubmer of controls and then looping through that many times to read the information
example
for ix = 1 to controltotal
Therefore I can do the following
value = upload.form(ix)
My question is how do I get the name of the control. I want this because I have name the controls with the key.
this does not work
name = Upload.form(ix)(Item.Name)
How do I get the name when I am passing in a number to iterate through the controls
for ix = 1 to controltotal
idvalue = right(Upload.form(ix)(Item.Name),6) ' this does not work
rtvalue = upload.form(ix)
ix = ix + 1
pdate = upload.form(ix)
response.write ix & "<BR>"
response.write " Name is " & idvalue & "<BR>"
response.write " value is " & rtvalue & "<BR>"
response.write " date is " & pdate & "<BR><br>"
Next
However I am not using for Each Item in Upload.Form
I am looping through to get the total nubmer of controls and then looping through that many times to read the information
example
for ix = 1 to controltotal
Therefore I can do the following
value = upload.form(ix)
My question is how do I get the name of the control. I want this because I have name the controls with the key.
this does not work
name = Upload.form(ix)(Item.Name)
How do I get the name when I am passing in a number to iterate through the controls
for ix = 1 to controltotal
idvalue = right(Upload.form(ix)(Item.Name),6) ' this does not work
rtvalue = upload.form(ix)
ix = ix + 1
pdate = upload.form(ix)
response.write ix & "<BR>"
response.write " Name is " & idvalue & "<BR>"
response.write " value is " & rtvalue & "<BR>"
response.write " date is " & pdate & "<BR><br>"
Next