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

Count

The Count property returns the number of elements in the collection.

Syntax
.Count

Return Value
Returns an Long value which is the number of elements in the collection.

Example

<%
Response.Write("NbForm=" & MyUpLoad.Form.Count)
%>

Item

The Item method access to a item in a collection. This is the default method of the collection.

Syntax
.Item(key)

Return Value
Returns a Item object of the collection corresponding to the key.

Parameter
key could be either a long value or either a string.

Examples

<%
For intI=1 to MyUpLoad.Form.count
    Response.Write("Item=" & MyUpLoad.Form.Item(intI).Name)
Next

For intI=1 to MyUpLoad.Form.count
    Response.Write("Item=" & MyUpLoad.Form(intI).Name)
Next

Response.Write("Item=" & MyUpLoad.Form("myTEXT").Name)
%>

© 2002 Advantys. All rights reserved.