Hello Experts
I have 3 list which contain some value i want to save into database.
i have one dealer and he buy 3 producs each products have price and quantity.
so dealerd id is common for all products.
below is common code
var orderdata = new tbl_Order();
orderdata.Id = Guid.NewGuid();
orderdata.DealerId = new Guid(dealerValue);
tbl_Invoice.Id = Guid.NewGuid();
orderdata.BillId = tbl_Invoice.Id;
i have below 3 list for Product,amount,quantity
List productListValues = new List(); // it has 3 value
List productAmountListValues = new List(); // it has 3 value
List productQantityListValues = new List(); // it has 3 value
i want to read one by one product,its amonut and quantity and save to database
in mvc
Please help me
Thank you
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vinay SinghPosted Sep 2, 2016, 6:51 AM