Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
Read Multiple list in mvc
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Akash Patil
8y
300
1
Reply
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<string> productListValues = new List<string>(); // it has 3 value
List<string> productAmountListValues = new List<string>(); // it has 3 value
List<string> productQantityListValues = new List<string>(); // 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
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
how to create multiple page with sub btn in mvc4?
how to work with multiple views in mvc4