Hi I have next & previous button when i click next button next question & their answers displays after i click on previous button it is displaying earlier question but not earlier selected answer.开发者_如何转开发 i want earlier selected answer. how its possible? Asp.net c#
You have to save the answers and prefill with them when the page loads. In ASP.NET you can save your form data in a variety of ways, including:
- View State
- Session State
- Query string parameters
- Hidden form elements
- Database store
I don't know the nature of your application and what the best solution for you would be, but I'm leaning towards Session State.
精彩评论