Exemplo n.º 1
0
        public string QuestionName(int id)
        {
            Lebi_User_Question model = B_Lebi_User_Question.GetModel(id);

            if (model != null)
            {
                return(Lang(model.Name));
            }
            return("");
        }
Exemplo n.º 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            int id = RequestTool.RequestInt("id", 0);

            if (!EX_Admin.Power("question_list", "安全问题"))
            {
                PageNoPower();
            }
            model = B_Lebi_User_Question.GetModel(id);
            if (model == null)
            {
                model = new Lebi_User_Question();
            }
        }