void InitDatatable() { CRecep_sample_detailFactory faRecep_Sample_Detail = new CRecep_sample_detailFactory(); Reception oReception = new Reception(); DTReceptionDetail = oReception.GetReceptionDetail(-1); gcReception.DataSource = DTReceptionDetail; CRecep_sample_detail_elemFactory faRecep_Sample_Detail_Elem = new CRecep_sample_detail_elemFactory(); DTReceptionDetailElem = oReception.GetReceptionDetailElem(-1); }