how to load TAB files on opennetcf?

  • Thread starter Thread starter vaj
  • Start date Start date
V

vaj

Hi,
Does anyone know how to load a *.Tab file on to a dataset using
opennetcf?
I tried doing it but it doesnt seem to work.

Private da As OpenNETCF.Data.text.TextDataAdapter:
....
....
da.delimitingcharacter = " "
...
could anyone tell me how to do this.
Would be much appreciated!
-vaj
 
Hi,
Does anyone know how to load a *.Tab file on to a dataset using
opennetcf?
I tried doing it but it doesnt seem to work.

Private da As OpenNETCF.Data.text.TextDataAdapter:
...
...
da.delimitingcharacter = " "
..
could anyone tell me how to do this.
Would be much appreciated!
-vaj

Hi,

This looks like VB.NET code. I don't know if the following works in VB.NET.
But, try this:

da.delimitingcharacter = "\t";

Your editor has quite possibly changed the tabs to spaces, in your string
literal. '\t' is the escape code for a tab character.

-- Tom Spink
 
Hi,

If you have such an especific question about a framework post it in the
framework's support forum.

Extra hint, the developers of it usually post in the compactframework NG,
you better post it there.

Finally you are setting the incorrect char, it should be
da.delimitingcharacter = '\t';

note that I did not check the docs of opennetcf so no idea what is expected
in delimitingcharacter property.
 
cheers guys
Ignacio said:
Hi,

If you have such an especific question about a framework post it in the
framework's support forum.

Extra hint, the developers of it usually post in the compactframework NG,
you better post it there.

Finally you are setting the incorrect char, it should be
da.delimitingcharacter = '\t';

note that I did not check the docs of opennetcf so no idea what is expected
in delimitingcharacter property.


--
 

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

Similar Threads


Back
Top