Cetin,
If you have the Access Jet ODBC driver installed, you can open the text file as a table through ODBC.
>>Hi all,
>>
>>When I wanted to get data from a sdf textfile into a dataset, I first created a table in foxpro and appended the data from this textfile into the foxpro table and convert this table into xml. Afterwards it's easy to convert xml to a dataset table.
>>
>>I was wondering of course if there is a better alternative.
>>
>> Thanks in advance.
>>
>>Zakaria al Azhar
>
>Zakaria,
>You could directly read and parse the text file. For a sample check "ADO.Net and You" on MSDN.
>Cetin
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement