CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 List Box Populate

Print topic Send  topic

Author Message
r1xliquid

Posts: 41
Posted: 10/31/2006, 8:33 AM

I am trying to populate a list box with a database recordset. This is a html listbox, i have no need for a grid control. The list box will only be used to populate a second listbox.

Do i have to use the CCCreateControl function in the asp code to populate?

Is there a way i can use an onload event to populate?

any response will be appreciated!
View profile  Send private message
dominhduc

Posts:
Posted: 10/31/2006, 9:07 AM

What's your version product? You have to code by yourself !
View profile  Send private message
r1xliquid

Posts: 41
Posted: 10/31/2006, 9:09 AM

i am using code charge 3.0. I cannot code the listbox with static html, it needs to be populated from a DB. Is this possible without having the listbox as part of another type of control?
View profile  Send private message
peterr


Posts: 5971
Posted: 10/31/2006, 10:16 AM

You can just use a standard listbox. The listbox component in CCS doesn't serve any other purpose than to be populated from a database. You can specify the table or SQL statement in the data source property of a listbox. If this is not enough you can stuff custom values into a listbox as described in this section of the Help file:
"Dynamically Modify the "List Of Values" of a ListBox"
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.