Tornado API Library - V12.30.08

z.ASPdbDownloadMethod(String)

Executes the download without any user interface and with more options.

Product Version

All
[VisualBasic]
OverloadsPublicSubASPdbDownload( _
ByVal downloadfileAsString_
)
[C#]
publicvoidASPdbDownload(
stringdownloadfile
);

Parameters

downloadfile
File=Filename to be downloaded

DownloadSave=true will force a Download/Save of the associated files (".htm", ".html", ".doc", ".rtf", ".csv", ".xls", ".gif", ".jpg", ".jpeg", ".pdf", ".zip", ".xml", ".txt") instead of display file in browser.

Remarks

This is equIvalent in clicking the download button in a regular session. The dbNavigationItem = "download" is added and there is no need to specify that. All the properties are observed. Obj.dbDownloadParams will be observed.

Example

Obj.ASPdbDownload("File=Physical_or_Virtual_Filename| DownloadSave=True")

See Special Topic - Download for more details.

See Also

z Class | Tornado Namespace | z.ASPdbDownload Overload List | dbDownloadFlds | dbDownloadHideFlds | dbDownloadMagicCell | dbDownloadParams | Special Topics - Download