public string retrieveScheduleById(int id)
        {
           
            string sHql = " select p from Schedule  p.ScheClasstype ";
            sHql += " where p.SCH_EMPCODE='" + id + "'";
            return control.GetClassType(sHql).ToString();
        }Schedule 这个是表名, p.ScheClasstype ,p.SCH_EMPCODE 是表的字段  我想实现 根据传来的id 返回p.ScheClasstype这个字段。  急!!!在线等!!!