Пример #1
0
        public static ClsQuestion GetByQueID(int QueID)
        {
            ClsQuestion obj = new ClsQuestion();
            DataSet     ds  = new ScriptDesigner.DataAccess.ClsQuestionAnsDataService().Question_GetByID(QueID);

            if (!obj.MapData(ds.Tables[0]))
            {
                obj = null;
            }
            return(obj);
        }
Пример #2
0
        public static ClsQuestion GetByQueID(int QueID)
        {
            ClsQuestion obj = new ClsQuestion();
            DataSet ds = new ScriptDesigner.DataAccess.ClsQuestionAnsDataService().Question_GetByID(QueID);

            if (!obj.MapData(ds.Tables[0])) obj = null;
            return obj;
        }