Home
Screenshots
Showcase
Features
Download
Purchase
Online Community
Documentation
Contact Us
Download the free trial version
Features
Tutorials and manuals
Showcase
Screenshots
Android Development Forum - Basic4android
>
Basic4ppc (Windows Mobile)
>
Questions (Windows Mobile)
how listing record in a listbox
User Name
Remember Me?
Password
Documentation Wiki
Register
Members List
B4P Search
Today's Posts
Mark Forums Read
Questions (Windows Mobile)
Post any question regarding Basic4ppc.
how listing record in a listbox
LinkBack
Thread Tools
Display Modes
#
1
(
permalink
)
03-15-2010, 08:12 AM
aru
Junior Member
Join Date: Feb 2010
Posts: 24
how listing record in a listbox
hi
ListboxView1.Clear
For i=0 to Reader.FieldCount-1
ListboxView1.Add(Reader.GetValue(i))
Next
this is my code iwant to list three record in alist box
like this
student|address|phone
is it possible?
can you help me?
Aru
#
2
(
permalink
)
03-15-2010, 10:04 AM
mjcoon
Basic4ppc Expert
Join Date: May 2008
Location: Berkshire, UK
Posts: 762
Awards Showcase
Total Awards
: 1
I imagine that you want to display three fields from a single record/row.
In which case the code might be
Code:
ListboxView1.Add(Reader.GetValue(
0
) &
"
|
"
& Reader.GetValue(
1
) &
"
|
"
& Reader.GetValue(
2
))
if those fields are numbers 0, 1 and 2.
HTH, Mike.
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1
(0 members and 1 guests)
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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
first record is selected automatically to delete
aru
Questions (Windows Mobile)
2
03-15-2010
03:24 PM
Listing installed apps and uninstalling them
N1c0_ds
Questions (Windows Mobile)
2
11-28-2008
01:19 PM
Copy Record from one database to another database.
mozaharul
Questions (Windows Mobile)
0
07-15-2008
05:47 AM
table record Maxium
scott93727
Questions (Windows Mobile)
1
05-27-2008
10:46 AM
.NET CF to .NET F Compatible listing
Cableguy
Questions (Windows Mobile)
4
08-06-2007
06:30 PM
All times are GMT. The time now is
03:24 AM
.
Contact Us
-
Basic4android - Android programming
-
Top
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by
vBSEO
3.3.0
LinkBack
LinkBack URL
About LinkBacks