Tech Off Thread

3 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

DataSet support for base64Binary ???

Back to Forum: Tech Off
  • User profile image
    phreaks

    Do Datasets not support base64Binary columns?

    Can I not store binary data in a DS?

  • User profile image
    Maurits

    What's base64Binary?
    Use "image" or "binary" or "varbinary" columns to store binary data, depending on how much data you need to store in a field, and whether the fields are fixed-length or variable-length.

  • User profile image
    phreaks

    Maurits wrote:
    What's base64Binary?
    Use "image" or "binary" or "varbinary" columns to store binary data, depending on how much data you need to store in a field, and whether the fields are fixed-length or variable-length.


    I don't see either of those options in the DataType field of the DS Designer.

    If I manually add type="xs:binary" as an attribute to the XSD, I get error: XMLSchema Binary is not declared.

    EDIT:
    manually adding the attribute as  type="xs:base64Binary" marks the DS column as a byte array, which is what I need.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.