Dataset to store ImportSet settings

feurich

Well-known member
Joined
Oct 21, 2003
Messages
168
Location
Holland
Hi there,

I am writting a apps that needs to copy several CSV files from a FTP site and then load the data in to a MSDE instance. Now i thought, because i need to have several ImportSet with different settings( location, ftpusername, password etc, etc) i could store the settings in a dataset when the apps is active and export the settings to XML when the apps is closed. The application only needs to read and write data to the dataset/xml file an other apps (service) is going to read the settings and do some stuff with it.

Could some one please help me on the way with this. I am writting this in C# (I am new to C#) . Just give me some pointers to get started.

many thanks.
 
Ok, Figured some stuff out but....

Ok, I have figured some stuff out. Made a ImportSet Class with Properties and methods and a constructor. Now I want to Read a XMLSchema into a DataSet with DataSet.XMLschemaReader(xmlfile.xml). I have a xml file but this is one that I have written and I dont know what format it should have. On the MSDN website it saids it needs to has to be written in the XSD standard.
Can anyone help me out here What should be in the schemafile.xml and what format does it need to have?

Feurich
 
Back
Top