Returns hexadecimal-string representation (base16 string) of a form field value. Usefull for SQL block insertion.
FormField.HexString ([Start as Long = Start of field], [Length as Long = Length of field])
| Where | Type | Optional | Default | Description |
|---|---|---|---|---|
| Start | Long | yes | Start of field | Start position to return binary data as HexString |
| Length | Long | yes | Length of field | Length of source data to return |
See also live sample of this method at Online sample of a HexString conversion texts and files for SQL commands page.
Upload - Check file contents to ensure the field is really an image |
Upload - Using a HexString property and Insert statement |
Upload - large files to MS SQL Server using a HexString property and UPDATETEXT SQL statement |
ByteArray.HexString, FormField.String, FormField.ByteArray
ByteArray, ContentDisposition, ContentTransferEncoding, ContentType, FileExt, FileName, FilePath, Header, Headers, HexString, CharSet, Index, InProgress, IsFile, Length, Name, RAWHeader, SourceLength, String, Value
One form field. Member of FormFields collection.
© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz