P4s3PortalWebSvc SqlToCsv Method A Sandcastle Documented Class Library
Exports the results of an sql query to a csv file then provides a download link to the file.

Namespace: P4s3WebSvc
Assembly: P4s3WebSvc (in P4s3WebSvc.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public string SqlToCsv(
	string sql,
	string fileName,
	string userName,
	string key
)

Parameters

sql
Type: System String
fileName
Type: System String
userName
Type: System String
key
Type: System String

Return Value

Type: String
See Also