How do you populate a ListView?

new topic     » topic index » view thread      » older message » newer message

--------------Boundary-00=_NVYV8WA1VA4000000000
  charset="iso-8859-1"

I am trying to display the contents of a database using listview. I am=0D
looping through the database to populate the list box using this little=0D
snippette: =0D
=0D
count =3D addLVItem(myLV,1,db_key) =0D
count =3D addLVItem(myLV,2,db_data) =0D
Instead of getting the key in column1 and the data in column2 it is putti=
ng=0D
the the first key in column one with it's data under it and then it puts =
the=0D
second key in the first column with it's data under that. Nothing is goin=
g=0D
into column 2. What am I doing wrong?=20
--------------Boundary-00=_NVYV8WA1VA4000000000
Content-Type: Text/HTML;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD>
<META content=3D"IncrediMail 1.0" name=3DGENERATOR>
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>FLAVOR00-NONE-0000-0000-000000000000</X-FID>
<X-FVER></X-FVER>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd-->
</HEAD>
<BODY style=3D"BACKGROUND-POSITION: 0px 0px; FONT-SIZE: 12pt; MARGIN: 5px=
 10px 10px; FONT-FAMILY: Arial" bgColor=3D#ffffff background=3D"" scroll=3D=
yes ORGYPOS=3D"0" X-FVER=3D"3.0">
<TABLE id=3DINCREDIMAINTABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100=
%" border=3D0>
<TBODY>
<TR>
<TD id=3DINCREDITEXTREGION style=3D"FONT-SIZE: 12pt; CURSOR: auto; FONT-F=
AMILY: Arial" width=3D"100%">I am trying to display the contents of a dat=
abase using listview. I am<BR>looping through the database to populate th=
e list box using this little<BR>snippette: <BR><BR>count =3D addLVItem(my=
LV,1,db_key) <BR>count =3D addLVItem(myLV,2,db_data) <BR>Instead of getti=
ng the key in column1 and the data in column2 it is putting<BR>the the fi=
rst key in column one with it's data under it and then it puts the<BR>sec=
ond key in the first column with it's data under that. Nothing is going<B=
R>into column 2. What am I doing wrong? <BR><BR><BR></TD></TR>
<TR>
<TD id=3DINCREDIFOOTER width=3D"100%">
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%">
<TBODY>
<TR>
<TD width=3D"100%"></TD>
<TD id=3DINCREDISOUND vAlign=3Dbottom align=3Dmiddle></TD>
<TD id=3DINCREDIANIM vAlign=3Dbottom align=3Dmiddle></TD></TR></TBODY></T=
--------------Boundary-00=_NVYV8WA1VA4000000000--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu