예제 #1
0
        public static ModuleInfo getModuleInfobyId(int id)
        {
            DataSet           ds  = SqlDBUtil.queryObjById(id, "ModuleInfo");
            DataRowCollection drs = ds.Tables["ds"].Rows;

            if (drs.Count == 1)
            {
                return(Row2ModuleInfo(drs[0]));
            }
            else
            {
                return(null);
            }
        }