可以使用这个控件<a href="http://sumac.etcconnect.com/fitco/dbcvt21a.zip">DBCVT21A.ZIP</a>
VCL's to import and export ASCII files to/from a table. Far
better and more flexible than BatchMove.
Includes full help file and demo
I made a little app that can convert a text file into a html grid.
I did this specifically fordo
wnload file from Microsoft Software
Liberary FTP site. Because the SoftLib directory in the site
contains so many file, it is no way to retrieve the full filelist
page(more than 400k). Thus Ido
wnloaded the 'index.txt' file, then
I converted it to a html grid with the links to the file. In this
way, I can pick the files that I need todo
wnload.
The principal of this program is to put a seriers of text lines
into a grid with the selected first few words as named columns
and the rest texts as one comment string. The method of the app
can be used in your program.
My secret weapon is "TStringList.CommaText". Explore it! try it!
Make it your secret weapon!!!