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
Faysal Chowdhury
NA
31
7.7k
How to insert multiple table data using ViewModel in asp.net
Mar 9 2019 11:00 AM
Hi there,
I am new in ap.net mvc. I want to insert, update and delete multiple tables data in a single form using the ViewModel in asp.net mvc. I have created five tables with relation each other, which given below in the image.
Then I've created five models usign code first from database approch. After that I'm trying to create ViewModel but I can't understand how to create and bind all the tables for my App.
My app form table for insert, Update, Delete data like this:
FirstName
InputBox
MiddleName
InputBox
LastName
InputBox
DateOfBirth
InputBox
Gender
InputBox
Profession
DropDown Value
BloodGroup
DropDown Value
UserName
DropDown Value
MobileNumber
InputBox
Please anybody help me to resolve this issue.
Thanks
Reply
Answers (
2
)
Can We call jquery function from controller in mvc
How to get fields exist on table by passing table name by us