Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem with Import/Export using TextDataFile

0 views
Skip to first unread message

Giacomo Mirabelli

unread,
Feb 1, 1999, 3:00:00 AM2/1/99
to
Hello,

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


0 new messages