Click or drag to resize
UploadDbType Enumeration
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 (in DataTables.dll) Version: 1.6.5.0 (1.6.5.0)
Syntax
C#
public enum DbType
Members
  Member nameValueDescription
Content0 Binary information - stored in a string column type
ContentBinary1 Binary information - stored in a binary column type
ContentType2 Content type
Extn3 File extension (note that this includes the dot)
FileName4 File name (with extension)
FileSize5 File size (bytes)
MimeType6 MIME type (same as content type)
WebPath7 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!
SystemPath8 System path to the file (i.e. the absolute path on your hard disk)
ReadOnly9 Don't write to the database, just read (default value or updated else where)
See Also