Server Explorer also lets you browse files stored in your
database, see file preview, upload new files to your
database, and delete existing files from your database.
The following item in the Server Explorer lists the database files when double-clicked:
Database
Both the file system and the database files are displayed in the Server Explorer by default. If you want to display
only
the files in your database, you should set the
ViewSubDirs property to
"" as shown in this sample.
If you have
Microsoft SQL Server 2005 Express Edition installed on your machine, you can use the database
UltimateEditorDatabase under App_Data.
Otherwise, you may run the SQL query
CreateTable_UltimateEditorFile under Controls\Documents\Database.
You also need to add the configuration settings from
UploadDatabaseConfig.xml to your
Web.config file.
Please visit
Upload (Database) sample to see how you can upload files to your database by using the Server Explorer.
Please also visit
User Permission (Database) sample to see how you can control user access to files in your database.
Note that this feature is supported in .NET 2.0 and higher.