Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking checkboxes and more...
Message
From
01/09/2000 15:20:38
 
 
General information
Forum:
Internet
Category:
Active Server Page
Miscellaneous
Thread ID:
00411954
Message ID:
00411957
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform