DZone Forums
Go Back   DZone Forums > Community > Languages & Frameworks > .NET
Reload this Page Inserting checkbox values into one field
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: May 2009
Default Inserting checkbox values into one field - 05-08-2009, 12:20 AM

hi

I have a checkboxes on my page (.aspx) like

checkbox1 - item1
checkbox2 - item2
checkbox3 - item3
etc

what i want is that when a user selects certain checkboxes
they should be inserted into a table called
customer which has fields (customer id and actions)

the data should be inserted as

customerid actions
1 item1,item2,item3
2 item1,item3
3 etc..

i.e all the values should be inserted into database into one field separated by commas.

Thanks
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Set Background Picture for the Editor field Detschie Java 0 04-24-2009 09:35 AM
How to enable to disable the checkbox that is added to the table swamin30 Eclipse 0 04-08-2009 05:42 AM
Building to chroot OR how to remove "built-in values" zmalex Eclipse 1 03-19-2009 08:54 PM
Accessing properties file keys/values sahuabinash Java 0 04-10-2008 09:39 AM
Getting values of another class svds Java 6 02-12-2008 02:31 PM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com