We need to create a quiz application in SharePoint 2013. We have already created a quiz by write questions in aspx page and writing its code in aspx.cs page and the quiz is running fine.
But the requirement is we need to fetch questions also from SharePoint list and display them and store the answers. The problem we are facing is that we are able to retieve questions but not able to display in the form. Only the final question is getting displayed. It is reading all the questions , but only final question is getting printed. In aspx page we only wrote code for one question and solutions as the code for iteration of the list is written in the cs page. But we are not able to display all the questions in the form.
Can anyone please send the code of aspx and aspx.cs page where we can display the question with 4 radio options of a set of questions?
Thanks in advance.