TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Prakash
NA
258
78.4k
Read Multiple list in mvc
Sep 2 2016 3:00 AM
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
Reply
Answers (
1
)
how to create multiple page with sub btn in mvc4?
how to decrypt an asp.net membership password from database?