troubleshooting Question

Insert into one to many relationship

Avatar of mmalik15
mmalik15 asked on
.NET ProgrammingASP.NET
3 Comments1 Solution240 ViewsLast Modified:
I want to create an asp page for one to many relationship. I have questions in one table and possible answers in other table. Now when i add a new question at the same time i have to add the possible answers. I managed to add a new question using a form and after its added; a button click takes to a new page to add answers. What the best way to add possible asnwers ? How shall i display my form and which control will be good for it ? (Also a question might have 2 to 5 possible Answers) My possibleAnswer table has three fields QuestionID,PossibleAnswer,CorrectAnswer
using VS2005 with VB.net & SQL server 2005
Thanks in advance
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros