I have some problem with Import/Export a DataSet with TextDataFile class...
When I export DataSet to file is all right, when I import DataSet from file
the result is a Table with some rubbish...
I use the follow method:
.
.
.
QueryDataSet importQueryToDBase = new QueryDataSet();
TextDataFile dataFile = new TextDataFile();
dataFile.setLoadAsInserted(true);
dataFile.load(importQueryToDBase,new BufferedInputStream(istreamExp),new
BufferedInputStream(istreamSch));
importQueryToDBase.setTableName(headerTableName);
importDatabase.saveChanges(importQueryToDBase);
.
.
.
where is the mistake ??
bye bye
Giacomo