A
Aras Kucinskas
Hi All,
I can't to bring ADO.NET to work normaly with FoxPro 8 OLE DB provider and
FoxPro 6 data tables. Error ocure when I try to implement
OleDbDataAdapter,generate a simple SELECT statement, using wizard. Error
like this:
"The wizard detected the folowing problems when configuring the data adapter
"OleDbDataAdapter1. Details: Unspecified erro..."
Alike problem ocure generating a dataset from data adapter. Manualy
implementation of all data objects works better, but with some problems:
Data in my FoxPro tables is in 1257 codepage and connection string locale
parameter is set to 1063 (Locale Identifier=1063). The first execution of
command (in this case SELECT) return well coded data (with all Lithuanian
chars).THE EACH NEXT CALL RETURNS DATA CODED IN DEFAULT ENCODING (in this
case EN 1033). I tryed to turn off all ole db services (OLE DB Services=0)
in connection string, but the problem persist!
The connection string: "Data Source=\\MyServer\DATA;Provider=VFPOLEDB.1;OLE
DB Services=0;Locale Identifier=1063".
What solution can solve the problems? Maby the problem is in DataTables (v6)
and Ole DB provider (v8) compatibility?
Aras
I can't to bring ADO.NET to work normaly with FoxPro 8 OLE DB provider and
FoxPro 6 data tables. Error ocure when I try to implement
OleDbDataAdapter,generate a simple SELECT statement, using wizard. Error
like this:
"The wizard detected the folowing problems when configuring the data adapter
"OleDbDataAdapter1. Details: Unspecified erro..."
Alike problem ocure generating a dataset from data adapter. Manualy
implementation of all data objects works better, but with some problems:
Data in my FoxPro tables is in 1257 codepage and connection string locale
parameter is set to 1063 (Locale Identifier=1063). The first execution of
command (in this case SELECT) return well coded data (with all Lithuanian
chars).THE EACH NEXT CALL RETURNS DATA CODED IN DEFAULT ENCODING (in this
case EN 1033). I tryed to turn off all ole db services (OLE DB Services=0)
in connection string, but the problem persist!
The connection string: "Data Source=\\MyServer\DATA;Provider=VFPOLEDB.1;OLE
DB Services=0;Locale Identifier=1063".
What solution can solve the problems? Maby the problem is in DataTables (v6)
and Ole DB provider (v8) compatibility?
Aras