且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将数据从SQL获取到单选按钮并对其进行分组

更新时间:2022-10-27 21:09:15

是的你可以使用datalist并使用数据表绑定下一行

当我点击下一步时


hiiii

i have database contain Questions and Answers , each question is come from database based on the answer of previous question .... database structure is done .

database diagram here

now i face a problem in displaying the data to the user .
i need to get some answers that related to specific question in radio buttons and when user check one of them , the next question will appear
how i get the answers from DB in radio buttons and how i show the next question based on the answer of the current question .
what is the best control to help me (Repear, Gridview ,datalist ,...) any idea.
please i need help ASAP

Yes you can use datalist and bind next row using datatable
at when i click next