Binary (Dundas Upload Control 2.0)

Dundas

Binary (UploadedFile Object)

Overview

Read-only property which stores the uploaded file's data as a safe-array-of-bytes.

Syntax

UploadObject.Binary = [variant]

The Binary property syntax has the following parts:

Part

Description

variant

The file's data as a safe-array-of-bytes.

Remarks

To use the Files collection you must first call either the Save or SaveToMemory methods of either the Upload control or a NextFile object.

You can save uploaded binary files to a BLOB (e.g. a SQL Server "Image" column) by using an ADO recordset with a DSNless connection. Note that you can not utilize a system DSN to open the database.

See Also: Tutorial 3: ADO Support and Saving a File as a BLOB