1. Black Friday Sale - 50% off

    B4A Standard for $29 instead of $59!
    Buy Now
    Dismiss Notice

Question: BLOB-Data within Tablecontrol ?

Discussion in 'Questions (Windows Mobile)' started by schaujo, Jan 27, 2008.

  1. schaujo

    schaujo New Member Licensed User

    Is there a way to work with blob data within table control ?

    Or is the only way to use Datareader ?

    My application:
    In an sqlight-Dbase I have records with collumns like this:
    <IDNumber>,<Name>,<IconSmall> ... where <IconSmall> contains
    the Picture-Date in Blob-Format.

    Would be nice to load it into tablecontrol with
    One Command (for example: Cmd.executeTable("Table1",0))

    Yet now it can be done without syntax errors, but the cell
    will have the value "system.byte()" which I don't know
    how to compute.
  2. Erel

    Erel Administrator Staff Member Licensed User

    The only way it to do it manually with DataReader.
    Table control doesn't support embedded images.
  3. schaujo

    schaujo New Member Licensed User

    BLOB-Data not in TableControl - Alternative Solution

    Thank's Erel,

    no problem, when TableControl can't handle BLOB-Data.

    Just about 5 lines of codes more helped me.

    1) Use Reader to read record (line) one after the other.
    2) Use TableControl for the Text-values.
    3) Use an additional ImageList to handle Picture-Data,
    where the Row-Number in TableControl automatically refers to
    Item-Number of ImageList.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice