4
Reply

How to select values from 4 chekboxes C#

ToBe

ToBe

Feb 18 2013 1:31 AM
1.4k
Hi I'm newbie in C#  , I  need to select 3 or more check boxes from 6 checkboxs and save the value of the selected checkbox  as ID in the main table . If I select the check box : PC it should retrive the value ID which is 1 If I select the checkbox Labtop the value ID 2 and so on . how to save them in my Database main table .

ID

Type

1

PC

2

Labtop

3

KeyBoard




and so on I need to save only the selected Id's to the main Table .



Answers (4)