Exports the grid based upon the file extension.
[Visual Basic]
Overloads Public Sub ExportTo( _
ByVal filename As String _
)
[C#]
public void ExportTo(
string filename
);
[Delphi]
public procedure ExportTo(
filename: String
); overload;
Example
The following code exports the grid to an Excel spreadsheet:
Me.C1TrueDBGrid1.ExportTo("c:\temp\composers.xls")
· C#
this.c1TrueDBGrid1.ExportTo(@"c:\temp\composers.xls");
· Delphi
Self.C1TrueDBGrid1.ExportTo('c:\temp\composers.xls');
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace | C1TrueDBGrid.ExportTo Overload List
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |