Example   Source Menu
Documents and images can be maintained by uploading them to the file system and storing the path in the database or by uploading the file directly into a database column capable of storing binary data. In the first example the name of the folder into which the files are uploaded is specified by UploadRootFolder property. In both examples the types of files that can be uploaded are restricted using the UploadExtFilter property. The maximum size of thumbnail images can be controlled via the column MaxThumbnailHeight property.
Uploading to the file system
Control ID: FileUploadGrid ==> Error connecting to database ==>Access to the path 's:\web\users\v009u33dek\html\data\dbnetsuitevs.vdb3' is denied. Error 101 (Provider v. 3.4.3.69): Cannot open data storage or file: s:\web\users\v009u33dek\html\data\dbnetsuitevs.vdb3 Error 117 (Provider v. 3.4.3.69): Cannot open database: s:\web\users\v009u33dek\html\data\dbnetsuitevs.vdb3 (Access to the path 's:\web\users\v009u33dek\html\data\dbnetsuitevs.vdb3' is denied. Error 101 (Provider v. 3.4.3.69): Cannot open data storage or file: s:\web\users\v009u33dek\html\data\dbnetsuitevs.vdb3 )[Data Source=/data/dbnetsuitevs.vdb3;Open Mode=NonexclusiveReadWrite;]
Uploading to the database
Control ID: DbUploadGrid ==> Error connecting to database ==>Access to the path 's:\web\users\v009u33dek\html\data\dbnetsuitevs.vdb3' is denied. Error 101 (Provider v. 3.4.3.69): Cannot open data storage or file: s:\web\users\v009u33dek\html\data\dbnetsuitevs.vdb3 Error 117 (Provider v. 3.4.3.69): Cannot open database: s:\web\users\v009u33dek\html\data\dbnetsuitevs.vdb3 (Access to the path 's:\web\users\v009u33dek\html\data\dbnetsuitevs.vdb3' is denied. Error 101 (Provider v. 3.4.3.69): Cannot open data storage or file: s:\web\users\v009u33dek\html\data\dbnetsuitevs.vdb3 )[Data Source=/data/dbnetsuitevs.vdb3;Open Mode=NonexclusiveReadWrite;]