Пример #1
0
 public void GetDataList()
 {
     string _id = Parameters["qid"];
     OEQuestionItemBiz biz = new OEQuestionItemBiz();
     List<OEQuestionItem> lists = new List<OEQuestionItem>();
     lists = biz.Select(_id);
     Response.Write(Utils.ConvertToJson(lists));
 }
Пример #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                gsquestionid = Parameters["qid"];
                gsquestionitemid = Parameters["itemid"];
                OEQuestionItemBiz biz = new OEQuestionItemBiz();
                item = new OEQuestionItem();
                item = biz.Select(gsquestionid, gsquestionitemid);

            }
        }
Пример #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     item = new HQOnlineExam.ML.OEQuestion();
     if (!Page.IsPostBack)
     {
         string _id = Parameters["qid"];
         OEQuestionBiz biz = new OEQuestionBiz();
         item = biz.Select(_id);
         List<OEQuestionItem> lists = new List<OEQuestionItem>();
         OEQuestionItemBiz ibiz = new OEQuestionItemBiz();
         lists = ibiz.Select(_id);
         AddDatasource("itemlists", lists);
     }
 }