You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the previous used Version 6.8.0.0 the fbDataAdapter Fill-Method create string columns correct with MaxLength-Property.
Now in 7.10.1.0 the MaxLength is always -1!
Workaround:
To solve the problem i must now load the columns schema to set the property by myself.
DataTable xTable = new DataTable\(\);
using \(DbCommand xCommand = GetCommand\(xConnection, sql\)\)
\{
using \(DbDataAdapter adapter = new FbDataAdapter\(xCommand as FbCommand\)\)
\{
adapter\.Fill\(xTable\);
\}
\}
I must du this in all my applications because the 7.10 is faster than 6.8 and i need the fastest version for a datawarehouse.
The text was updated successfully, but these errors were encountered:
Submitted by: Baldur Fürchau (bfuerchau)
In the previous used Version 6.8.0.0 the fbDataAdapter Fill-Method create string columns correct with MaxLength-Property.
Now in 7.10.1.0 the MaxLength is always -1!
Workaround:
To solve the problem i must now load the columns schema to set the property by myself.
I must du this in all my applications because the 7.10 is faster than 6.8 and i need the fastest version for a datawarehouse.
The text was updated successfully, but these errors were encountered: