EhLib
ContentsIndexHome
PreviousUpNext
Import/Export TDBGridEh data to/from various formats

EhLib have a set of functions to export data from DBGridEh to Text, Csv, HTML, RTF, XLS and internal formats. It can write data to stream (TStream object) or to file. 

Example in Pascal:

SaveDBGridEhToExportFile(TDBGridEhExportAsText,DBGridEh1,'c:\temp\file1.txt',False);

Example in C++:

SaveDBGridEhToExportFile(__classid(TDBGridEhExportAsText),DBGridEh1,"c:\\temp\\file1.txt",false);

EhLib have set of functions to import data from Text and internal formats to DBGridEh's dataset. It can read data from stream (TStream object) or from file.

Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!