To set the ExportToHTML method, add the following code to the Click event of the Export button:
Me.C1TrueDBGrid1.ExportToHTML("c:\temp\composers.html")
· C#
this.c1TrueDBGrid1.ExportToHTML(@"c:\temp\composers.html");
· Delphi
Self.C1TrueDBGrid1.ExportToHTML('c:\temp\composers.html');
This topic illustrates the following:
Clicking the Export button creates an HTML file in the temp directory.
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |