c++builder – Can I use a CSV file like a (MSsql or mysql or BDE database) in C++ Builder? – Education Career Blog

I apologise in advance if this question isn’t very specific.

Would it be possible to do the following.

when the application loads

read the contents of a CSV file into a dataset.

while the application is running

operate on that dataset exactly as if it were a mysql or mssql or bde database (run queries. insert records. delete records. alter records.)

when the application closes – write the dataset back to the csv file.

,

You could load the file into a TClientDataset, operate on the dataset and apply the changes back to a file.

Leave a Comment