S
Sascha Schmidt
Hello !
I have a little problem accessing a Visual Foxpro-database using ODBC (Driver 6.00.8167)
(using System.Data.Odbc). Reading a column, defined in the Foxpro table definition as a kind
of binary char (i'm no foxpro-expert and the database is predetermined) and containing
Unicode-String, delivers a byte[] structure in the resulting DataSet. Showing
this column in a Datagrid only results in displaying "byte[]" instead of a value.
Now my questions:
1) Is this only a driver problem? Do i have to use another driver? OleDB?
2) In other cases: Is it possible to convert it automatically? Or do i have to
read every row, check for affected columns, convert them manually into
strings (using the Encoding-Class) and write it back to another datastructure?
(that would surely slow down performance *sigh*)
3) any other advices/hints ?
Maybe someone has faced this problem before?
Thanks in advance and greets !
Sascha
I have a little problem accessing a Visual Foxpro-database using ODBC (Driver 6.00.8167)
(using System.Data.Odbc). Reading a column, defined in the Foxpro table definition as a kind
of binary char (i'm no foxpro-expert and the database is predetermined) and containing
Unicode-String, delivers a byte[] structure in the resulting DataSet. Showing
this column in a Datagrid only results in displaying "byte[]" instead of a value.
Now my questions:
1) Is this only a driver problem? Do i have to use another driver? OleDB?
2) In other cases: Is it possible to convert it automatically? Or do i have to
read every row, check for affected columns, convert them manually into
strings (using the Encoding-Class) and write it back to another datastructure?
(that would surely slow down performance *sigh*)
3) any other advices/hints ?
Maybe someone has faced this problem before?
Thanks in advance and greets !
Sascha