[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.mobile

RE: List control only displays the last item added

Jeff Spring

5/6/2002 11:50:00 PM

DUH!

Thanks Simon, that did the trick!

Jeff
>-----Original Message-----
>From the code it looks like you only have a single
mobilelistitem, defined
>outside the For loop. Therefore you have reset the text
and value to the
>values of the object properties each time. Try defining
a new
>mobilelistitem for every item in the loop by moving the
Dim statement
>inside the loop
>
>Simon Calvert
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>You assume all risk for your use. © 2002 Microsoft
Corporation. All rights
>reserved.