Go4Expert

Go4Expert (http://www.go4expert.com/)
-   ASP (http://www.go4expert.com/forums/asp/)
-   -   Inserting checkbox values into one field (http://www.go4expert.com/forums/inserting-checkbox-values-field-t17346/)

ebosysindia 5May2009 11:27

Inserting checkbox values into one field
 
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

shabbir 5May2009 14:54

Re: Inserting checkbox values into one field
 
You need to be using AJAX to insert them using the server side codes


All times are GMT +5.5. The time now is 10:46.