Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Question: BLOB-Data within Tablecontrol ?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-27-2008, 02:53 PM
Newbie
 
Join Date: Jan 2008
Posts: 2
Default Question: BLOB-Data within Tablecontrol ?

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.
Reply With Quote
  #2 (permalink)  
Old 01-27-2008, 03:38 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

The only way it to do it manually with DataReader.
Table control doesn't support embedded images.
Reply With Quote
  #3 (permalink)  
Old 01-27-2008, 05:49 PM
Newbie
 
Join Date: Jan 2008
Posts: 2
Default 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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
GPS Satellites map and data derez Share Your Creations 2 01-29-2008 05:04 AM
blob & image dennishea Questions (Windows Mobile) 13 08-31-2007 08:02 AM
Multiselect with Tablecontrol mcflaytasche Questions (Windows Mobile) 9 08-23-2007 07:32 PM
Multiselect in Tablecontrol Filippo German Forum 2 05-31-2007 07:10 PM
SQL BLOB problem HARRY Questions (Windows Mobile) 9 05-10-2007 06:13 PM


All times are GMT. The time now is 06:43 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0