Click to See Complete Forum and Search --> : populating fields from db through list/menu
kaddu747
03-22-2005, 09:28 AM
Im creating a commodities calculator.The commodity name,Exchange name,contract size and other details are stored in a database.When the user selects the commodity displayed in a drop down box I need the respective fields (contract size,Exchange name etc) to be populated with data from the database.I already wrote the JS to do the calculation but am stuck here.
Any help would be really appreciated.
faamugol
03-22-2005, 09:58 AM
You have to send displayed commodity to the datbase and then read the corresponding contract size and other you..after you can make your calculation and display the result..
you should also give your code so we can help you better
kaddu747
03-22-2005, 10:11 AM
I dont have the code yet,because im a fair novice at ASP...and i wasn't sure about what i needed to do this.Below is a link to what im trying to do
www.castletrading.com
once there click on "tools" and then "futures calculator"
Thanks faamugol