views:

59

answers:

1
+2  Q: 

Conducting Quiz

I want to conduct a quiz using silverlight. This quiz contains few questions and each question will have multiple choices (Radio Buttons). User should select one answer. After completing the quiz I need to display Result.

Is it better to provide the questions and options in XML Document and then retrieve it into silverlight class? If yes, can anybody tell me the procedure to achieve it.

A: 

Yes its better to store the questions/answers in a separate XML file. You can then download the file using WebClient then de-seralise it to a collection of "Question" objects. You can then display each question and the set of answers using something like a DataForm.

AnthonyWJones