示例#1
0
        public DataSet GetExamSchedulesById(Int64 id)
        {
            DataSet ds = objDATest.GetExamSchedulesById(id);

            ds.Tables[0].TableName = Entities.Test.TABLE_NAME;

            DAExamTemplate oDAET = new DAExamTemplate();
            DataSet        dsET  = oDAET.GetExamTemplatesById(ds.Tables[0].Rows[0][Entities.Test.TEST_TEMP_ID].ToString());

            dsET.Tables[0].TableName = Entities.TestTemplate.TABLE_NAME;
            ds.Tables.Add(dsET.Tables[Entities.TestTemplate.TABLE_NAME].Copy());

            DATestTakers oDATT = new DATestTakers();
            DataSet      dstt  = oDATT.GetTestTakersByTestId(ds.Tables[0].Rows[0][Entities.Test.ID].ToString());

            dstt.Tables[0].TableName = Entities.TestTakers.TABLE_NAME;
            ds.Tables.Add(dstt.Tables[Entities.TestTakers.TABLE_NAME].Copy());

            return(ds);
        }