Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22

Thread: Prob with store and retrieve binary data to/from remote sqlserver's image field

  1. #21
    Join Date
    Sep 2009
    Posts
    54
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    4
    Thanked 3 Times in 3 Posts

    Default Re: Prob with store and retrieve binary data to/from remote sqlserver's image field

    Dear Wysota;
    yes im not encoding the data while storing, but im storing the contents of byte array contents into a QString object while inserting the binary value into the remote server ( the code i gave in previous thread).

    the whole xml contents which im retrieving are given below,
    Qt Code:
    1. <?xml version="1.0" encoding="utf-8" ?><blobinsert><row photo="w7/DmMO/w6A="/></blobinsert>
    To copy to clipboard, switch view to plain text mode 


    from the xml file i retrieved from the server the base64 encoded binary contents are
    w7/DmMO/w6A=

    Please let me know, where im getting wrong ? and what is the correct way to do this process

    Thanks,

  2. #22
    Join Date
    Sep 2009
    Posts
    54
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    4
    Thanked 3 Times in 3 Posts

    Default Re: Prob with store and retrieve binary data to/from remote sqlserver's image field

    Dear Wysota;
    yes im not encoding the data while storing, but im storing the contents of byte array contents into a QString object while inserting the binary value into the remote server ( the code i gave in previous thread).

    the whole xml contents which im retrieving are given below,


    Qt Code:
    1. <?xml version="1.0" encoding="utf-8" ?><blobinsert><row photo="w7/DmMO/w6A="/></blobinsert>
    To copy to clipboard, switch view to plain text mode 


    from the xml file i retrieved from the server the base64 encoded binary contents are
    w7/DmMO/w6A=

    Please let me know, where im getting wrong ? and what is the correct way to do this process

    Thanks,

Similar Threads

  1. Replies: 0
    Last Post: 19th September 2009, 07:07
  2. Replies: 0
    Last Post: 14th September 2009, 11:57
  3. Replies: 2
    Last Post: 14th September 2009, 08:31

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.