ASPSMARTUPLOAD : DOCUMENTATION
Item Object
Last modified: August 1st, 1999 
© 2002 Advantys. All rights reserved.

Count

The Count property return the number of values for this Item.

Syntax
.Count

Return Values
Returns a Long value.

Example

<%
For each Item In MyUpload.Form
    Response.Write ("Number =" & MyUpLoad.Form(Item).Count & "<br>")
Next
%>

Name

The Name property specifies the name for this Item.

Syntax
.Name

Return Values
Returns a String value.

Example

<%
For intI=1 to MyUpload.Form.Count
    Response.Write ("Name=" & MyUpLoad.Form.Item(intI).Name & "<br>")
Next
%>

Values

The Values property specifies the values for this Item. If there are several tag with the same name, or a tag accept multiple values, then the property without parameter returns a list of values.

Syntax
.Values ([lngIndex])

Return Values
Returns a String value.

Parameter

lngIndex is an optional parameter. Then the property returns the value corresponding to the index.

Examples

<%
For intI=1 To MyUpload.Form.Count
    Response.Write ("Name=" & MyUpLoad.Form.Item(intI).Values(1) & "<br>")
    Response.Write ("Name=" & MyUpLoad.Form.Item(intI).Values & "<br>")
Next

For each Item In MyUpload.Form
    Response.Write (Item & " = " & MyUpLoad.Form(Item) & "<br>")
Next

For each Item In MyUpload.Form("mySELECT")
    Response.Write (Item & "<br>")
Next
%>

 

© 2002 Advantys. All rights reserved.