I
Igor
How to get more than 255 characters from a database using
any of ADO.Net numerous possibilities?
I created a field "Big" of type String in a table "Huge"
(Microsoft Access) with the size of 250. I've put a text
string "AAA...ZZZ" of length 250 into it.
The sql statement I want to use is: "SELECT '7777777777' &
Big FROM Huge". I want to get back the
string "7777777777AAA...ZZZ" which should contain now 260
characters. But instead I am getting the truncated string
of 255 characters.
I tried different approaches utilizing (*) OleDBDataSet,
(**) OleDBDataReader, (***) OleDBAdapter which fills a
DataTable with a field "Big" of DataType = Object. All
ways bring the same result - just 255 characters.
The correct result can be reached by using DAO recordsets.
Does anybody know how to solve the problem using ADO.Net?
Thanks,
Igor
any of ADO.Net numerous possibilities?
I created a field "Big" of type String in a table "Huge"
(Microsoft Access) with the size of 250. I've put a text
string "AAA...ZZZ" of length 250 into it.
The sql statement I want to use is: "SELECT '7777777777' &
Big FROM Huge". I want to get back the
string "7777777777AAA...ZZZ" which should contain now 260
characters. But instead I am getting the truncated string
of 255 characters.
I tried different approaches utilizing (*) OleDBDataSet,
(**) OleDBDataReader, (***) OleDBAdapter which fills a
DataTable with a field "Big" of DataType = Object. All
ways bring the same result - just 255 characters.
The correct result can be reached by using DAO recordsets.
Does anybody know how to solve the problem using ADO.Net?
Thanks,
Igor