CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> .NET

 Bound and Text columns

Print topic Send  topic

Author Message
drpcken

Posts: 60
Posted: 08/20/2004, 12:25 PM

I have a dropdownlist control named TeamLeader, and I filled it by creating a datasource to a sql table. Now I see two properties for the control, a Bound Column and a Text Column. I'm assuming the Text column is what will be displayed when the dropdown list is pulled down, and the Bound column is the value of the selected item correct? If so, how do I tell my code to get the Bound Column and/or the Text Column? I'm guessing something like TeamLeader.Bound or TeamLeader.Text

Thanks! Trying to clear this up.
View profile  Send private message
rogersw

Posts: 16
Posted: 10/06/2004, 3:18 PM


A quote from the MSDN site

DataTextField Gets or sets the field from the DataSource to bind to the ListItem.Text property of each item in the HtmlSelect control.

DataValueField Gets or sets the field from the DataSource to bind to the ListItem.Value property of each item in the HtmlSelect control.




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.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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