What I'm trying to do is when I select number of products from dropdown it appears in below table. Now when I click Save button below the table, I want data to be inserted in two Database table i.e Sales and SaleItems. Well Data is inserting in Sales table but I don't know how to insert in another table SaleItems. Please help me how can I do that?
Here's my code
"table" class="table">
"col">Product Id "col">Company "col">Product Name "col">User Name "col">User Mobile "col">Price per product "col">Quantity "col">Total Price "2">Grand Total : "GrandTotal">
Sachin SinghPosted Oct 29, 2020, 2:34 AM
Hamza ShahPosted Oct 29, 2020, 2:13 AM
1.SaleId
2. ProductId
3.ProductQuantity
4.ProductName
So how can add these?
Sachin SinghPosted Oct 29, 2020, 12:58 AM