| Submitted On |
November 27, 2008 |
| Updated on |
November 29, 2008 |
| .NET Framework |
1.x |
| Cost |
$ 0 |
Description
ASCDataDropDown is a simple superclassed dropdown listbox that allows you to populate the data without writing code to access the database.
Just specify the connection string, SQL query or stored procedure, DataTextField, and DataValueField. Then,
call the DataBind method.
Syntax Example
ASCDataDropDown1.ConnectString = _
"Server=localhost;UID=userid;PWD=password;DATABASE=myDatabase;"
ASCDataDropDown1.SQLQuery = "SELECT CITYID,CITYNAME FROM CITY WHERE STATE='CA'"
ASCDataDropDown1.DataValueField = "CITYID"
ASCDataDropDown1.DataTextField = "CITYNAME"
ASCDataDropDown1.DataBind()
Reviews
Submit a review
broken link
Reviewed by: ric_the_red on Thursday, November 27, 2008
5 Stars
broken link - not available
ASCDataDropDown
Reviewed by: GeorgeBenedict on Wednesday, December 05, 2007
5 Stars
Cool.. thank you for a nice code