By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,162 Members | 1,066 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,162 IT Pros & Developers. It's quick & easy.

How to create a Dynamic check box?

P: 5
Hi..
I am displaying database table on the form. Now i want to create a dynamic check box(it should place a checkbox for each row).If i check the check box it will add to database..
Can anyone guide me how to create a dynamic checkbox.
Dec 17 '10 #1
Share this Question
Share on Google+
2 Replies


jhardman
Expert 2.5K+
P: 3,405
Give a few more details: does the checkbox correspond to a database field (in other words you have a db field that is a true/false or yes/no ) or you have a form on your page and if they check the box then submit, you want to add a new record to the db with the info that is in the rest of the form?

Jared
Dec 18 '10 #2

P: 5
@Jhardman..
Thanks for helping me..

I have create a boolean(bit) column in sql table. But I haven't enter any data to that column..

Is it possible to display checkbox for each row..
(here comes my problem..I don't need all checkboxes are true.only one row need to be checked and same time i am displaying sql data on form ).


This is what it leading a problem for me..

atleast give me some idea what i have to do for best design of form..
Dec 18 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.