Intersoft WebGrid Documentation
OnExport Method
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGrid Class : OnExport Method






table
The table structure used during export.
dataSource
The data source used during export.
reportInfo
The report information of the export.
outputFile
The output file of export.
Invoked when exporting data is performed using code.

Syntax

Visual Basic (Declaration) 
Public Overridable Function OnExport( _
   ByVal table As WebGridTable, _
   ByVal dataSource As Object, _
   ByVal reportInfo As DynARInfo, _
   ByRef outputFile As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As WebGrid
Dim table As WebGridTable
Dim dataSource As Object
Dim reportInfo As DynARInfo
Dim outputFile As String
Dim value As Boolean
 
value = instance.OnExport(table, dataSource, reportInfo, outputFile)
C# 
public virtual bool OnExport( 
   WebGridTable table,
   object dataSource,
   DynARInfo reportInfo,
   ref string outputFile
)
Delphi 
public function OnExport( 
    table: WebGridTable;
    dataSource: TObject;
    reportInfo: DynARInfo;
   var  outputFile: String
): Boolean; virtual; 
JScript 
public function OnExport( 
   table : WebGridTable,
   dataSource : Object,
   reportInfo : DynARInfo,
   outputFile : String
) : boolean;
Managed Extensions for C++ 
public: virtual bool OnExport( 
   WebGridTable* table,
   Object* dataSource,
   DynARInfo* reportInfo,
   ref string* outputFile
) 
C++/CLI 
public:
virtual bool OnExport( 
   WebGridTable^ table,
   Object^ dataSource,
   DynARInfo^ reportInfo,
   String^% outputFile
) 

Parameters

table
The table structure used during export.
dataSource
The data source used during export.
reportInfo
The report information of the export.
outputFile
The output file of export.

Remarks

WebGrid.NET Enterprise allows you to use your own exporting codes using OnExport server side event. For more information you can read Exporting in V5.0.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.