We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Submitted by: Vincent Bergeron (bigbabeloua)
Here's my table DDL:
CREATE TABLE MYTABLE ( REMARQUE DOM_MEMO /* DOM_MEMO = BLOB SUB_TYPE 1 SEGMENT SIZE 80 */ );
Here's my C# code:
byte[] blob = new byte[length]; //Fill blob content here cmd.Parameters.Add(paramName, FbDbType.Binary).Value = blob; cmd.ExecuteNonQuery();
Using 2.1.0.0 client, it's working.
Using 2.5.0.0 client, I get an error: Cannot convert from System.Byte[] to System.String.
Commits: df53bf0
The text was updated successfully, but these errors were encountered:
Commented by: Vincent Bergeron (bigbabeloua)
(removed comment, because I thought It was the same issue as another one, but the "problem" is different)
Sorry, something went wrong.
Commented by: Konstantin Dombrugov (abracadabra)
for now you cannot pass byte arrays to text blobs. you should explicitly convert it to string see DNET249
status: Open [ 1 ] => Resolved [ 5 ]
resolution: Fixed [ 1 ]
Fix Version: 2.5.2 [ 10370 ]
cincuranet
No branches or pull requests
Submitted by: Vincent Bergeron (bigbabeloua)
Here's my table DDL:
CREATE TABLE MYTABLE (
REMARQUE DOM_MEMO /* DOM_MEMO = BLOB SUB_TYPE 1 SEGMENT SIZE 80 */
);
Here's my C# code:
byte[] blob = new byte[length];
//Fill blob content here
cmd.Parameters.Add(paramName, FbDbType.Binary).Value = blob;
cmd.ExecuteNonQuery();
Using 2.1.0.0 client, it's working.
Using 2.5.0.0 client, I get an error: Cannot convert from System.Byte[] to System.String.
Commits: df53bf0
The text was updated successfully, but these errors were encountered: