Пример #1
0
 //绑定题目列表
 public void bindInfo()
 {
     sort        = topicBll.GetTpicSort();
     topicType   = topicBll.GetTopicType();
     topicSource = topicBll.GetTopicSource();
     firstPoint  = new PointService().GetFirstPoint();
 }
Пример #2
0
    public void BindData()
    {
        topic = topicBll.GetTopicByTid(int.Parse(TopicId.ToString()));
        sort  = topicBll.GetTpicSort();

        topicSource = topicBll.GetTopicSource();
        firstPoint  = new PointService().GetFirstPoint();
        topicType   = topicBll.GetTopicType();

        SecondPoint second = new PointService().GetSecondPointById(int.Parse(topic.SecondPointId.ToString()));

        secondPoint = new PointService().GetSecondPoints(int.Parse(second.FIrstPointId.ToString()));
    }