I have the text boxes laid out on the additional form but need to know how to link those text boxes to the fields in the database.
You need to create an event that checks both textbox values. Most common is a button that fires an event, but you could also use the TextChanged event of the textbox. However, as you are going to query your database, I'd choose for the button or something that is fired when the user clicks it.
When you've checked the values of the textboxes, you store them in two separate variables. As you want them to be percentages, I'd choose for either Integer (rounded numbers), or Double (broken numbers). After that, you write a query, using the variables. It should something like this:
- SELECT * FROM [table] WHERE [column] BETWEEN [variable1] AND [variable2]
Now, try to figure out how to get the results of the query in a datatable and bind that table to your DropDownList.
I don't see why this would not be possible in VB.
Neither do I, everything is possible! :-)
Good luck! If you need help, don't hesitate to come back.
Steven