Topic: LoadFromTextFile
Hello all,
In the Method and Property of the TablegGrid, we find SaveToTextFile, and LoadFromTextFile.
I successfully exported multiple files which content were based on tablegrids, that works fine.
The import on the other hand is a little obscure to me.
I do not want to used a temporary sqlite.db file (I know how to do that), because what I plan to do is :
1- import a file content in the TableGrid
2- connect online to a Mysql database
3- upload and save the content of the Tablegrid to the server
So I built a small project in which, after clicking on a button and selecting a txt file, the content of the file is displayed in the TableGrid.
That works... except that the TableGrid only show numbers when there is also text in my file.
Any idea what I'm doing wrong ?
Try it if you want, the project is attached and the txt file is called export.txt, in the same folder as the project.
Cheers
Mathias
Each time I get a divorce, I keep the house
Zaza Gabor