basic at pocket pc

S

Steiner Hubert

hello,
how can i import a xml file to a basic.net (pocket pc) dataset?

i use
Dim ds As New DataSet
ds.ReadXml(Me.txtImportFile.Text)

error: "FormatException"

any idea?
 
S

Sergey Bogdanov

If import.xml is missed, DataSet.ReadXml will throw
FileNotFoundException. If import.xml exists but empty or has incorrect
XML structure, ReadXml throws XmlException.

I believe that one of your fields contains value with incorrect format.
Take a look at date format or floating point numbers. Maybe try to set
correct Locale value for this DataSet.

Can you provide import.xml that we could give you more information?

Best regards,
Sergey Bogdanov
http://www.sergeybogdanov.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top