I have a choicebox with a list of items and I want to populate choicebox2 with items from a sql table filtered by the selection in choicebox. This is not complete...but I was thinking of putting this code below on the "OnChange" property of my choicebox. What is the correct syntax to do this?
dbP = new DbConnection("mssql://USATL02PRSQ70:1434/STRATA");
var MyClients = dbP.execute("select ProjectName from projects where ClientName = ' " + choicebox + " ' ");
Please post any help questions, requests or other feedback here.
2 posts • Page 1 of 1
figured it out...
- Registered User
- Posts: 141
- Joined: Fri Jan 21, 2011 12:42 pm
2 posts · Page 1 of 1