Subscribe
Tutorial search

ASP Button Tutorials


Sort by:
ASP & Javascript Quiz
ASP & Javascript Quiz
This script loads 10 random questions from an Access database and creates a javascript quiz from them. There are buttons to display the current score and to display the answers.
Difficulty:
Limit query results with the Recordset object
Limit query results with the Recordset object
Have this short program around so that you can quickly see what columns and what data are in your database. Here you will see some of the common methods and properties used to limit the results from your SQL query. Using a simple form that takes a table name and a submit button, and you can easily display increments of the table data. Full source code available.
Difficulty:
Search Within Search Results
Search Within Search Results
Want to add value to your current search? Allow your users to search from within search results. As databases grow the necessity for the user to continually narrow a search to the item that they truly want will grow also. The following example utilizes a db on U.S. State capitals. Upon the first search two radio buttons will appear indicating a search (default) or a search within the current results. Searching within the current results will take the first search and add it to the new search and so on.
Difficulty:
Filling the Gaps
Filling the Gaps
In this final part of ASP Form Handling series, the author discusses such topics as handling radio buttons and check boxes, emailing attachments with CDONTS, and some ways of using the data stored in the registration database covered in Part 3.
Difficulty:
Forms - Check Boxes
Forms - Check Boxes
The checkbox object is coded along the same lines as radio buttons, however each checkbox must get its own unique name since the state of "checked" or "not checked" will be passed to ASP for each box. Remember that you can set more than one option to be checked. Complete source code provided for the example.
Difficulty:
Search Term(s) (1): button