How to assign Text and 'hidden' record ID to a checkbox control?

D

dan

I'd like to list multiple records from a database as checkboxes. I'd use
record's "Name" column for checkbox Text. Ideally I'd like to assign a
'hidden' record's ID to checkbox so I don't need to go back to the database
to query for the ID when checkbox is clicked on.
This is similar to what can be done with DropDownList (i.e. text and value).
Is there a way to do that with checkboxes?

Thanks,
Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top