now i have to display the question with all values,
i have pased question through session variable , in datalist control, but since two fields are of list , it is giving error,
can you plz guide how should i display a question in datalist with list
C# Code
exam = (Examination)Session["questions"];
Examination exam = (Examination)Session["Question"];
DataList1.DataSource = exam.questions;
DataList1.DataSource = exam.questions;
DataList1.DataBind();
aspx page
Review Questions
Code
Code
1.Code
2.Code
3.Code
4.Code
Correct Answer : <%# DataBinder.Eval( Container.DataItem,"cans") %>

Michael GriffithsRank #1,251 · 1.4K reputationPosted Feb 6, 2016, 1:36 AM EST
Prashant NimbareRank #1,326 · 1.3K reputationPosted Feb 6, 2016, 2:46 AM EST