WorkflowPageSaveFileAttachment Method (HttpPostedFile, String) |
Save a file attachment to eFormASPX StoragePath, in the "upload" subdirectory.
Namespace: WorkflowGen.My.Web.UI.WebFormsAssembly: WorkflowGen.My (in WorkflowGen.My.dll) Version: 2.4.0.0 (2.4.0.0)
Syntaxprotected string SaveFileAttachment(
HttpPostedFile postedFile,
string fileName
)
Protected Function SaveFileAttachment (
postedFile As HttpPostedFile,
fileName As String
) As String
Parameters
- postedFile
- Type: System.WebHttpPostedFile
The HttpPostedFile you want to save to eFormASPX storage path - fileName
- Type: SystemString
The file name you want to use for saving the file
Return Value
Type:
StringThe file name of the attachment
See Also