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
bensassi ch
NA
24
5.2k
2 requet with one Button
Jun 27 2015 8:33 AM
Hello ,
I just devlopper a quiz type application online with C # and entity framework
I have a form that contains two fields (question and Reponse)
the question can have one or more response and checkbox type fields to check if the answer true or false.
now I want to make my request with entity framework to record the questions in the question table
and answers in a table and answer the Recuper The ID_question to be a foreign key in the answer table
questions: how do I do to make the same record the question in the question and the answers table and id_question in the response tables ???
poure record in the table question is made
just how I change my Requet to retrieve the id_question and back it up with the answers in Table answer
Attention !! with a single button send two Requets
Requet here is my question in my controller
Thanks in advance
Reply
Answers (
2
)
Layer In Real Time In asp.net
GAC