Enum Upload.DbType
Database upload options for the 'fields' option in the 'Db()' method. These are used to provide easy information about the file that will be stored in the database.
Namespace: DataTables
Assembly: DataTables-Editor-Server.dll
Syntax
public enum DbType : int
Fields
Name | Description |
---|---|
Content | Binary information - stored in a string column type |
ContentBinary | Binary information - stored in a binary column type |
ContentType | Content type |
Extn | File extension (note that this includes the dot) |
FileName | File name (with extension) |
FileSize | File size (bytes) |
MimeType | MIME type (same as content type) |
ReadOnly | Don't write to the database, just read (default value or updated else where) |
SystemPath | System path to the file (i.e. the absolute path on your hard disk) |
WebPath | HTTP path to the file this is computed from Request.PhysicalApplicationPath . If you are storing the files outside of your application, this option isn't particularly useful! |