Writing into BLOB different behavior between 2.1 and 2.5
--------------------------------------------------------

                 Key: DNET-273
                 URL: http://tracker.firebirdsql.org/browse/DNET-273
             Project: .NET Data provider
          Issue Type: Bug
    Affects Versions: 2.5.0
         Environment: Windows XP
VS 2008
C#
            Reporter: Vincent Bergeron
            Assignee: Jiri Cincura


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.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to