Error: "Byte array truncation to a length of 8000" - ADO DAO RDO RDS

This is a discussion on Error: "Byte array truncation to a length of 8000" - ADO DAO RDO RDS ; I'm trying to update the data in a DataGridView control. The underlying data are from SQL Server CE database. There is an image field in the DataGridView control when U give the save command, I get the following message. "@p5 ...

+ Reply to Thread
Results 1 to 2 of 2

Error: "Byte array truncation to a length of 8000"

  1. Default Error: "Byte array truncation to a length of 8000"

    I'm trying to update the data in a DataGridView control.
    The underlying data are from SQL Server CE database.
    There is an image field in the DataGridView control

    when U give the save command, I get the following message.
    "@p5 : Byte array truncation to a length of 8000."

    Parameter corresponds to the image field. In the parameter, it is displayed
    as a Binary.


  2. Default Re: Error: "Byte array truncation to a length of 8000"

    rkbnair wrote:
    > I'm trying to update the data in a DataGridView control.


    There was no way for you to know it (except maybe by browsing through
    some of the previous questions in this newsgroup before posting yours -
    always a recommended practice) , but this is a classic ADO newsgroup.
    ADO.Net bears very little resemblance to classic ADO so, while you may
    be lucky enough to find a dotnet-knowledgeable person here who can
    answer your question, you can eliminate the luck factor by posting your
    question to a group where those dotnet-knowledgeable people hang out. I
    suggest microsoft.public.dotnet.framework.adonet.



    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.



+ Reply to Thread

Similar Threads

  1. "@p5 : Byte array truncation to a length of 8000."
    By Application Development in forum ADO DAO RDO RDS
    Replies: 11
    Last Post: 10-25-2007, 04:07 AM
  2. Replies: 9
    Last Post: 10-19-2007, 06:50 PM
  3. How can I write variable length byte array?
    By Application Development in forum Java
    Replies: 2
    Last Post: 03-05-2007, 07:56 PM
  4. Replies: 1
    Last Post: 11-22-2006, 10:08 PM
  5. "String data, right truncation"
    By Application Development in forum ADO DAO RDO RDS
    Replies: 2
    Last Post: 06-30-2005, 03:54 AM