Exemplo n.º 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);
        }
Exemplo n.º 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;
        }