Filtering into GridView
-
Hi, I'm still talking about Questions an it's answers, I have database containing 2 tables, the Questions and the Answers, I'm trying to filter the Question and it's answer together to appeare like one row in GridView but the answers will be appeare in radio button to enable select one right answer, I'm asking IS that possible, and if it is, How we can do it. Regards Mr.Wonderful
-
Hi, I'm still talking about Questions an it's answers, I have database containing 2 tables, the Questions and the Answers, I'm trying to filter the Question and it's answer together to appeare like one row in GridView but the answers will be appeare in radio button to enable select one right answer, I'm asking IS that possible, and if it is, How we can do it. Regards Mr.Wonderful
Not sure whether this can be done with a GridView, but you could achieve the required results using nested
Repeater
controls. The outer Repeater control would display the main list of questions. The nested Repeater control would display a list of radio buttons representing the available answers to questions. This Microsoft article[^] explains how to do this.Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush