Click here to Skip to main content
15,908,843 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good day all, I have a table named Product the table comprises of

ProductId, ProductType, Quantity, Quantity returned..

I have a checkbox for all the products all most 10 check boxes for the products and each check box have it own corresponding Quantity and quantity returned.

How do i insert all the checked box into my table named products at once

C#
Productid      ProductType, Quantity, Quantity retuned
   1            checkbox 1    4         3
   2            checkbox 2    6         3
   3            checkbox 3    4         3

what i meant is on submit it will automatically submit all the datas and it will appear as above, i am using linq, i can insert those datas normally but to insert all at sametime is what i don't know how to....can you please help me out....thanks and i reall appreciate your time and effort
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900