Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking checkboxes and more...
Message
De
01/09/2000 15:20:38
 
 
Information générale
Forum:
Internet
Catégorie:
Active Server Page
Divers
Thread ID:
00411954
Message ID:
00411957
Vues:
13
>I need to dynamically retrieve records from a database and display a list in a table format with checkboxes for "Approve" and "Decline" on each line/record (FYI, radiobutton is not appropriate).
>
>I'm using Response.Write for output but stuck on how to go about diplaying the 2 checkboxes on each row. How do I name the checkboxes so that when the user submits the form I'll know what's been selected for each record so that I could update the database with selected values?

You could base it on a naming convention. It do it all the time.

This is mostly based on the primary key. And, since you have two checkboxes, you could add a secondary terminology to determine Approve and Decline. So, you could go with naming the checkboxes Approve0001, Decline0001, Approve0002, Decline0002, etc.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform