ToBe

ToBe

  • NA
  • 164
  • 94.1k

How to select values from 4 chekboxes C#

Feb 18 2013 1:31 AM
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)